1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 00:42:04 +02:00

Also display error in the log

This commit is contained in:
Uwe L. Korn 2014-10-27 19:05:07 +01:00
parent 9e4f46a567
commit 21a6c0ed55

@ -189,7 +189,6 @@ ResolverAccountFactory::createFromPath( const QString& path, const QString& fact
if ( !myPlatform.contains( platform ) )
{
tDebug() << "Wrong resolver platform.";
displayError( tr( "Resolver installation error: platform mismatch." ) );
return 0;
}
@ -280,6 +279,7 @@ ResolverAccountFactory::expandPaths( const QDir& contentDir, QVariantHash& confi
void
ResolverAccountFactory::displayError( const QString& error )
{
tLog() << "Resolver creation FAILED:" << error;
JobStatusView::instance()->model()->addJob( new ErrorStatusMessage( error ) );
}