aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/browser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/browser.cpp b/src/browser.cpp
index e55d063..29a02b7 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -41,11 +41,9 @@ inline Plugin loadPluginFromPath(const QString &path)
p.instance = std::shared_ptr<QObject>(loader.instance());
-#ifdef QT_DEBUG
} else {
qDebug("Loading pluing: %s [failed]", qUtf8Printable(path));
qDebug("%s", qUtf8Printable(loader.errorString()));
-#endif
}
return p;
@@ -56,6 +54,7 @@ inline QVector<Plugin> loadPlugins(const QString &path)
QVector<Plugin> list;
QFileInfo location(path);
if(!location.exists()) {
+ qDebug("Plugin location doesn't exist.");
return list;
}