From 3f6a554d21efad87c8d8502aac6e3c0f85b893d1 Mon Sep 17 00:00:00 2001 From: Fabian Bumberger Date: Wed, 26 Feb 2014 17:56:57 +0100 Subject: 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 Reviewed-by: Rafael Roquetto --- src/plugins/platforms/qnx/qqnxintegration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/qnx/qqnxintegration.cpp') 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 -- cgit v1.2.3