Commit 95caceb2 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

better looking error message

parent c7ad4ade
......@@ -787,8 +787,7 @@ bool PluginSpecPrivate::loadLibrary()
PluginLoader loader(libName);
if (!loader.load()) {
hasError = true;
errorString = loader.errorString();
errorString.append(QCoreApplication::translate("PluginSpec", "\nLibrary base name: %1").arg(libName));
errorString = libName + QString::fromLatin1(": ") + loader.errorString();
return false;
IPlugin *pluginObject = qobject_cast<IPlugin*>(loader.instance());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment