]> vaikene.ee Git - evaf/commitdiff
Fixed expanding Qt plugin names on Windows.
authorEnar Väikene <enar@vaikene.net>
Wed, 23 Nov 2011 08:57:20 +0000 (10:57 +0200)
committerEnar Väikene <enar@vaikene.net>
Wed, 23 Nov 2011 08:57:20 +0000 (10:57 +0200)
src/libs/Plugins/pluginmanager.cpp

index 3f0d9f623a6d5ff4e642fe1844b5d77bc4c1c870..69ca736800cd51e1908d98fa6a1538a010004a78 100644 (file)
@@ -363,7 +363,7 @@ bool PluginManagerPrivate::loadQtPlugin(QString const & name) const
 #endif
 
 #ifdef Q_OS_WIN32
-    fileName = QString("%2q%2%3").arg(Common::iApp::instance()->qtPluginsDir()).arg(name).arg("4.dll");
+    fileName = QString("%1q%2%3").arg(Common::iApp::instance()->qtPluginsDir()).arg(name).arg("4.dll");
 #  ifndef QT_NO_DEBUG
     QString t = QString("%1q%2%3").arg(Common::iApp::instance()->qtPluginsDir()).arg(name).arg("d4.dll");
     if (!QFile::exists(t))