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>
bb10
parent
b5de3baa6f
commit
fbfe420aeb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue