Commit 596b7c46 authored by PAPADOPOULO Theodore's avatar PAPADOPOULO Theodore

Error messages should appear even when not in verbose mode.

parent df814e41
......@@ -207,17 +207,17 @@ template <typename T> void dtkCorePluginManager<T>::load(const QString& path)
error += path;
error += " - ";
error += loader->errorString();
if(d->verboseLoading) { dtkWarn() << error; }
dtkWarn() << error;
delete loader;
return;
}
T *plugin = qobject_cast<T *>(loader->instance());
if(!plugin) {
if (!plugin) {
QString error = "Unable to retrieve ";
error += path;
if(d->verboseLoading) { dtkWarn() << error; }
dtkWarn() << error;
loader->unload();
delete loader;
......
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