diff options
| author | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2012-10-16 16:53:09 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-18 15:19:48 +0200 |
| commit | 92e4ec7a146660362f365d8a54e0f017c8f48bd9 (patch) | |
| tree | 77414ee60a8064a17cfbe92b76b4be8ffc8897c3 /src/widgets/kernel/qgridlayout.cpp | |
| parent | e75be9f30e88f0bef361144887fb36a30079cb7d (diff) | |
| download | qtbase-92e4ec7a146660362f365d8a54e0f017c8f48bd9.tar.gz | |
Bring back Mac dependent code in QBoxLayout, QGridLayout
We also made an accessibility auto-test more stable, so that it would
not be influenced by this patch.
Task-number: QTCREATORBUG-7966
Change-Id: I6ce4e2361c8847aee5dd1cf5664c29cd2d83e38d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/widgets/kernel/qgridlayout.cpp')
| -rw-r--r-- | src/widgets/kernel/qgridlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qgridlayout.cpp b/src/widgets/kernel/qgridlayout.cpp index 5dd840e80a..b5cd746c03 100644 --- a/src/widgets/kernel/qgridlayout.cpp +++ b/src/widgets/kernel/qgridlayout.cpp @@ -231,7 +231,7 @@ void QGridLayoutPrivate::effectiveMargins(int *left, int *top, int *right, int * int t = topMargin; int r = rightMargin; int b = bottomMargin; -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC int leftMost = INT_MAX; int topMost = INT_MAX; int rightMost = 0; |
