1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Debug and safety

This commit is contained in:
Leo Franchi 2012-03-09 16:31:23 -05:00
parent 7ac68392a6
commit 5848e7ba8c

View File

@ -93,7 +93,9 @@ LastFmAccount::authenticate()
}
else if ( m_resolver.isNull() )
{
AtticaManager::instance()->installResolver( res, false );
qDebug() << "Got null resolver but asked to authenticate, so installing i we have one from attica:" << res.isValid() << res.id();
if ( res.isValid() && !res.id().isEmpty() )
AtticaManager::instance()->installResolver( res, false );
}
else
{