mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Also display error in the log
This commit is contained in:
@@ -189,7 +189,6 @@ ResolverAccountFactory::createFromPath( const QString& path, const QString& fact
|
|||||||
|
|
||||||
if ( !myPlatform.contains( platform ) )
|
if ( !myPlatform.contains( platform ) )
|
||||||
{
|
{
|
||||||
tDebug() << "Wrong resolver platform.";
|
|
||||||
displayError( tr( "Resolver installation error: platform mismatch." ) );
|
displayError( tr( "Resolver installation error: platform mismatch." ) );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -280,6 +279,7 @@ ResolverAccountFactory::expandPaths( const QDir& contentDir, QVariantHash& confi
|
|||||||
void
|
void
|
||||||
ResolverAccountFactory::displayError( const QString& error )
|
ResolverAccountFactory::displayError( const QString& error )
|
||||||
{
|
{
|
||||||
|
tLog() << "Resolver creation FAILED:" << error;
|
||||||
JobStatusView::instance()->model()->addJob( new ErrorStatusMessage( error ) );
|
JobStatusView::instance()->model()->addJob( new ErrorStatusMessage( error ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user