mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Move infoplugin wrong thread log message above assert
This commit is contained in:
@@ -277,8 +277,8 @@ InfoSystem::addInfoPlugin( Tomahawk::InfoSystem::InfoPluginPtr plugin )
|
|||||||
|
|
||||||
if ( plugin.data()->thread() != m_infoSystemWorkerThreadController->worker()->thread() )
|
if ( plugin.data()->thread() != m_infoSystemWorkerThreadController->worker()->thread() )
|
||||||
{
|
{
|
||||||
|
tLog() << Q_FUNC_INFO << "The object must be moved to the worker thread first, see InfoSystem::workerThread(): " << plugin->friendlyName();
|
||||||
Q_ASSERT( false );
|
Q_ASSERT( false );
|
||||||
tDebug() << Q_FUNC_INFO << "The object must be moved to the worker thread first, see InfoSystem::workerThread()";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user