mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-13 04:21:51 +02:00
* More debug output when trying to load a library.
This commit is contained in:
parent
65914c9d64
commit
2d71bb3c62
@ -41,6 +41,9 @@ SipHandler::loadPlugins()
|
||||
|
||||
foreach ( QString fileName, pluginsDir.entryList( QDir::Files ) )
|
||||
{
|
||||
if ( !QLibrary::isLibrary( fileName ) )
|
||||
continue;
|
||||
|
||||
qDebug() << "Trying to load plugin:" << pluginsDir.absoluteFilePath( fileName );
|
||||
|
||||
QPluginLoader loader( pluginsDir.absoluteFilePath( fileName ) );
|
||||
@ -51,6 +54,10 @@ SipHandler::loadPlugins()
|
||||
qDebug() << "Loaded plugin:" << loader.fileName();
|
||||
loadPlugin( plugin );
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug() << "Error loading library:" << loader.errorString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user