summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-02-26 17:56:57 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-08 11:45:43 +0100
commit3f6a554d21efad87c8d8502aac6e3c0f85b893d1 (patch)
tree8ba0e098b6cb13564af845ab4cf36bc129e9f11e /src/plugins/platforms/qnx
parent79469565cfcd1397110be7b5c61466624a92153d (diff)
QNX: Do not create default platform theme
If the theme name is not recognized we should not create a QPlatformTheme, but rather return 0. If no platform theme can be created on creation of the QGuiApplication,a default QPlatformTheme will be created automatically. Change-Id: I685fa352c87d74c225c7f91c10cb84fb5128a3f6 Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx')
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp
index 43045f99d1..41ca2b5e18 100644
--- a/src/plugins/platforms/qnx/qqnxintegration.cpp
+++ b/src/plugins/platforms/qnx/qqnxintegration.cpp
@@ -470,7 +470,7 @@ QPlatformTheme *QQnxIntegration::createPlatformTheme(const QString &name) const
qIntegrationDebug() << Q_FUNC_INFO << "name =" << name;
if (name == QBlackberryTheme::name())
return new QBlackberryTheme(this);
- return QPlatformIntegration::createPlatformTheme(name);
+ return 0;
}
#endif