diff options
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxtheme.cpp')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxtheme.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/qnx/qqnxtheme.cpp b/src/plugins/platforms/qnx/qqnxtheme.cpp index ae9acd845e..c0aef07bd9 100644 --- a/src/plugins/platforms/qnx/qqnxtheme.cpp +++ b/src/plugins/platforms/qnx/qqnxtheme.cpp @@ -76,10 +76,11 @@ QPlatformDialogHelper *QQnxTheme::createPlatformDialogHelper(DialogType type) co switch (type) { case QPlatformTheme::FileDialog: return new QQnxFileDialogHelper(m_integration); -#ifndef QT_NO_COLORDIALOG +#endif +#if !defined(QT_NO_COLORDIALOG) case QPlatformTheme::ColorDialog: #endif -#ifndef QT_NO_FONTDIALOG +#if !defined(QT_NO_FONTDIALOG) case QPlatformTheme::FontDialog: #endif default: |