summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxtheme.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-01-23 22:12:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-23 22:12:54 +0100
commit7df08a8b63c8fc861a5e927eabf2405e1a2a01e1 (patch)
tree495ff2934465b02b01fc2ff694687344c909bf62 /src/plugins/platforms/qnx/qqnxtheme.cpp
parent06e4b1cff4c469d2fc3afbfe7a6b1954fedc90ff (diff)
parentc608ec825410a9287f544a2ae3ce8154424e767d (diff)
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxtheme.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxtheme.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxtheme.cpp b/src/plugins/platforms/qnx/qqnxtheme.cpp
index ae9acd845e..e8e9e39388 100644
--- a/src/plugins/platforms/qnx/qqnxtheme.cpp
+++ b/src/plugins/platforms/qnx/qqnxtheme.cpp
@@ -58,8 +58,10 @@ QQnxTheme::~QQnxTheme()
bool QQnxTheme::usePlatformNativeDialog(DialogType type) const
{
+#if defined(Q_OS_BLACKBERRY_TABLET)
if (type == QPlatformTheme::FileDialog)
return true;
+#endif
#if !defined(QT_NO_COLORDIALOG)
if (type == QPlatformTheme::ColorDialog)
return false;
@@ -74,8 +76,10 @@ bool QQnxTheme::usePlatformNativeDialog(DialogType type) const
QPlatformDialogHelper *QQnxTheme::createPlatformDialogHelper(DialogType type) const
{
switch (type) {
+#if defined(Q_OS_BLACKBERRY_TABLET)
case QPlatformTheme::FileDialog:
return new QQnxFileDialogHelper(m_integration);
+#endif
#ifndef QT_NO_COLORDIALOG
case QPlatformTheme::ColorDialog:
#endif