From 1b2ec05ea3635100e1418de2df75518e729ca583 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Fri, 12 Feb 2016 22:16:42 +0100 Subject: [PATCH] Move infoplugin wrong thread log message above assert --- src/libtomahawk/infosystem/InfoSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/infosystem/InfoSystem.cpp b/src/libtomahawk/infosystem/InfoSystem.cpp index 48150ac32..ff37be996 100644 --- a/src/libtomahawk/infosystem/InfoSystem.cpp +++ b/src/libtomahawk/infosystem/InfoSystem.cpp @@ -277,8 +277,8 @@ InfoSystem::addInfoPlugin( Tomahawk::InfoSystem::InfoPluginPtr plugin ) 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 ); - tDebug() << Q_FUNC_INFO << "The object must be moved to the worker thread first, see InfoSystem::workerThread()"; return; }