diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-03-28 15:24:50 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-03-28 15:24:50 +0000 |
| commit | 0ff79ca8b4e6dc472b22677adc2ea0f47e8f8954 (patch) | |
| tree | 30f8fc0379a19aaf10af234ebf3e578279e74034 /src/qmmpui/general.cpp | |
| parent | adc74e4988576d4bd882996ce524950fc29b6d2e (diff) | |
| download | qmmp-0ff79ca8b4e6dc472b22677adc2ea0f47e8f8954.tar.gz qmmp-0ff79ca8b4e6dc472b22677adc2ea0f47e8f8954.tar.bz2 qmmp-0ff79ca8b4e6dc472b22677adc2ea0f47e8f8954.zip | |
show more debug info
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@296 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/general.cpp')
| -rw-r--r-- | src/qmmpui/general.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<GeneralFactory *>(plugin); |
