From: Enar Väikene Date: Wed, 23 Nov 2011 08:57:20 +0000 (+0200) Subject: Fixed expanding Qt plugin names on Windows. X-Git-Url: https://vaikene.ee/gitweb/overview.html?a=commitdiff_plain;h=6f46eb208327c27aacdf84d6c4f7df5078ab24b3;p=evaf Fixed expanding Qt plugin names on Windows. --- diff --git a/src/libs/Plugins/pluginmanager.cpp b/src/libs/Plugins/pluginmanager.cpp index 3f0d9f6..69ca736 100644 --- a/src/libs/Plugins/pluginmanager.cpp +++ b/src/libs/Plugins/pluginmanager.cpp @@ -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))