summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcombobox.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2012-10-16 16:19:51 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-17 04:19:09 +0200
commitf8b6d104b981ef420756c0c20f62b8013d93ae15 (patch)
tree025f106890e1075f73632d8d64c9b42383a87804 /src/widgets/widgets/qcombobox.cpp
parent8c838f29d4df0082021c8b1792feb1d917249b84 (diff)
Bring back MacSizeChange event
This ensures WA_MacNormalSize & Co. work (almost) properly. Task-number: QTCREATORBUG-7966 Change-Id: Ib03b5c0f163409e2bc387f6cf9b56c72c43caec7 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/widgets/qcombobox.cpp')
-rw-r--r--src/widgets/widgets/qcombobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qcombobox.cpp b/src/widgets/widgets/qcombobox.cpp
index e71abb2d82..16de0da4ac 100644
--- a/src/widgets/widgets/qcombobox.cpp
+++ b/src/widgets/widgets/qcombobox.cpp
@@ -2660,7 +2660,7 @@ void QComboBox::changeEvent(QEvent *e)
switch (e->type()) {
case QEvent::StyleChange:
d->updateDelegate();
-#ifdef Q_WS_MAC
+#ifdef Q_OS_MAC
case QEvent::MacSizeChange:
#endif
d->sizeHint = QSize(); // invalidate size hint