diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-02 14:23:44 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-02 14:24:35 (GMT) |
commit | 0f06310ad141fb3705cb5180db700aa82a155287 (patch) | |
tree | dbd32a3abecbe2189b1cb6271a8730f0f2e5c204 /src/gui/styles/qcommonstyle.cpp | |
parent | 9b7b54f72278249984565d67ebac6b2700c3d002 (diff) | |
download | Qt-0f06310ad141fb3705cb5180db700aa82a155287.zip Qt-0f06310ad141fb3705cb5180db700aa82a155287.tar.gz Qt-0f06310ad141fb3705cb5180db700aa82a155287.tar.bz2 |
fix warnings on mingw
Diffstat (limited to 'src/gui/styles/qcommonstyle.cpp')
-rw-r--r-- | src/gui/styles/qcommonstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/styles/qcommonstyle.cpp b/src/gui/styles/qcommonstyle.cpp index c9bdb7f..41f9ec0 100644 --- a/src/gui/styles/qcommonstyle.cpp +++ b/src/gui/styles/qcommonstyle.cpp @@ -5219,7 +5219,7 @@ QPixmap QCommonStyle::standardPixmap(StandardPixmap sp, const QStyleOption *opti Q_UNUSED(sp); #else QPixmap pixmap; - const bool rtl = (option && option->direction == Qt::RightToLeft) || !option && QApplication::isRightToLeft(); + const bool rtl = (option && option->direction == Qt::RightToLeft) || (!option && QApplication::isRightToLeft()); if (QApplication::desktopSettingsAware() && !QIcon::themeName().isEmpty()) { switch (sp) { @@ -5509,7 +5509,7 @@ QIcon QCommonStyle::standardIconImplementation(StandardPixmap standardIcon, cons const QWidget *widget) const { QIcon icon; - const bool rtl = (option && option->direction == Qt::RightToLeft) || !option && QApplication::isRightToLeft(); + const bool rtl = (option && option->direction == Qt::RightToLeft) || (!option && QApplication::isRightToLeft()); if (QApplication::desktopSettingsAware() && !QIcon::themeName().isEmpty()) { switch (standardIcon) { case SP_DirHomeIcon: |