diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-12-21 22:07:13 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-29 22:38:46 +0100 |
commit | fbfe420aeb03f497edc86b38a00b4c5cdc62cd4c (patch) | |
tree | 7fd3dbb5c16f75db02842bbb13943e4c95df29f3 /src/widgets | |
parent | b5de3baa6f6284446bb98d5099816c8318fac0ac (diff) |
Fix warnings reported by Clang in QtWidget
qwizard.cpp:919:24: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if ((info.wizStyle == QWizard::AeroStyle)
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Change-Id: I477cc4e331633682b79df3cb0113558e9019280c
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/dialogs/qwizard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qwizard.cpp b/src/widgets/dialogs/qwizard.cpp index 44518ec7d5..241e9f678a 100644 --- a/src/widgets/dialogs/qwizard.cpp +++ b/src/widgets/dialogs/qwizard.cpp @@ -916,7 +916,7 @@ QWizardLayoutInfo QWizardPrivate::layoutInfoForCurrentPage() info.buttonSpacing = 12; info.wizStyle = wizStyle; - if ((info.wizStyle == QWizard::AeroStyle) + if (info.wizStyle == QWizard::AeroStyle #if !defined(QT_NO_STYLE_WINDOWSVISTA) && (QVistaHelper::vistaState() == QVistaHelper::Classic || vistaDisabled()) #endif |