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:
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 ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user