From 0ff79ca8b4e6dc472b22677adc2ea0f47e8f8954 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 28 Mar 2008 15:24:50 +0000 Subject: show more debug info git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@296 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/general.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/qmmpui/general.cpp') diff --git a/src/qmmpui/general.cpp b/src/qmmpui/general.cpp index e072344a0..fed8221b4 100644 --- a/src/qmmpui/general.cpp +++ b/src/qmmpui/general.cpp @@ -45,9 +45,10 @@ static void checkFactories() QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); QObject *plugin = loader.instance(); if (loader.isLoaded()) - { qDebug("General: plugin loaded - %s", qPrintable(fileName)); - } + else + qWarning("General: %s", qPrintable(loader.errorString ())); + GeneralFactory *factory = 0; if (plugin) factory = qobject_cast(plugin); -- cgit v1.2.3-13-gbd6f