summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiplatformplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qguiplatformplugin.cpp')
-rw-r--r--src/gui/kernel/qguiplatformplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qguiplatformplugin.cpp b/src/gui/kernel/qguiplatformplugin.cpp
index c4119af..2dd251b 100644
--- a/src/gui/kernel/qguiplatformplugin.cpp
+++ b/src/gui/kernel/qguiplatformplugin.cpp
@@ -81,7 +81,7 @@ QGuiPlatformPlugin *qt_guiPlatformPlugin()
static QGuiPlatformPlugin *plugin;
if (!plugin)
{
-#if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS)
+#ifndef QT_NO_LIBRARY
QString key = QString::fromLocal8Bit(qgetenv("QT_PLATFORM_PLUGIN"));
#ifdef Q_WS_X11