summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-06 14:02:59 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-06 14:02:59 (GMT)
commit443a7b6f3eb1191b20240b5068da386d669045fc (patch)
tree07afdc117ce952f61d325111b55e2796f2b0ee2c /src/gui
parentb4264b12a51ecea93517a84f94c15f8e97b2f50f (diff)
downloadQt-443a7b6f3eb1191b20240b5068da386d669045fc.zip
Qt-443a7b6f3eb1191b20240b5068da386d669045fc.tar.gz
Qt-443a7b6f3eb1191b20240b5068da386d669045fc.tar.bz2
Fix warnings on MSVC
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogs/qcolordialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qcolordialog.cpp b/src/gui/dialogs/qcolordialog.cpp
index aee592c..0357a7a 100644
--- a/src/gui/dialogs/qcolordialog.cpp
+++ b/src/gui/dialogs/qcolordialog.cpp
@@ -1836,8 +1836,8 @@ QRgb QColorDialog::getRgba(QRgb initial, bool *ok, QWidget *parent)
QColorDialog::~QColorDialog()
{
- Q_D(QColorDialog);
#if defined(Q_WS_MAC)
+ Q_D(QColorDialog);
if (d->delegate) {
d->releaseCocoaColorPanelDelegate();
QColorDialogPrivate::sharedColorPanelAvailable = true;