summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2011-05-02 11:56:03 +0200
committermae <qt-info@nokia.com>2011-05-02 11:58:43 +0200
commit988871dabf3c949ffc71d126131281a3ae641ebf (patch)
treece144516ac0083ea559e51b755370c64dd64798f /src/corelib/plugin
parent31ef8fa6abc2ea23c6f0a996b36494d88aafb0b5 (diff)
Fix regression with QSettings patch
The plugin loader is used without QCoreApplication. This fixes 31ef8fa6abc2ea23c6f0a996b36494d88aafb0b5
Diffstat (limited to 'src/corelib/plugin')
-rw-r--r--src/corelib/plugin/qlibrary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp
index 6f3ee1c3d3..d9aac00cf1 100644
--- a/src/corelib/plugin/qlibrary.cpp
+++ b/src/corelib/plugin/qlibrary.cpp
@@ -706,7 +706,7 @@ bool QLibraryPrivate::isPlugin(QSettings *settings)
QStringList reg;
#ifndef QT_NO_SETTINGS
if (!settings) {
- settings = QCoreApplicationPrivate::trolltechConf;
+ settings = QCoreApplicationPrivate::trolltechConf();
}
reg = settings->value(regkey).toStringList();
#endif