Fixed bug in error message on plugin loading

This commit is contained in:
Daniel Brunner
2018-03-16 12:27:13 +01:00
parent a7652b5db2
commit 3d7220cf61

View File

@@ -292,7 +292,7 @@ bool loadPlugins(QSplashScreen &splashScreen)
QPluginLoader pluginLoader(fileInfo.filePath());
if(!pluginLoader.load())
{
QMessageBox::warning(&splashScreen, QCoreApplication::translate("main", "Could not load plugin %0!"),
QMessageBox::warning(&splashScreen, QCoreApplication::translate("main", "Could not load plugin %0!").arg(fileInfo.fileName()),
QCoreApplication::translate("main", "Could not load plugin %0!").arg(fileInfo.fileName()) %
"\n\n" % pluginLoader.errorString());
ok = false;