mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 01:39:42 +01:00
Debug and a potential windows fix
This commit is contained in:
parent
4507315f3b
commit
57ab3f73db
@ -200,6 +200,7 @@ SpotifyAccount::authenticate()
|
||||
if ( m_spotifyResolver.isNull() && state == AtticaManager::Installed )
|
||||
{
|
||||
// We don;t have the resolver but it has been installed via attica already, so lets just turn it on
|
||||
qDebug() << "No valid spotify resolver running, but attica reports it is installed, so start it up";
|
||||
hookupResolver();
|
||||
}
|
||||
else if ( m_spotifyResolver.isNull() )
|
||||
@ -216,8 +217,13 @@ SpotifyAccount::authenticate()
|
||||
}
|
||||
else if ( !m_spotifyResolver.data()->running() )
|
||||
{
|
||||
qDebug() << "Spotify resolver exists but stopped, starting";
|
||||
m_spotifyResolver.data()->start();
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug() << "Spotify resolver exists and is running, ignore authentication attempt";
|
||||
}
|
||||
|
||||
emit connectionStateChanged( connectionState() );
|
||||
}
|
||||
|
@ -830,6 +830,7 @@ unzipFileInFolder( const QString &zipFileName, const QDir &folder )
|
||||
if ( !out.open( QIODevice::WriteOnly ) )
|
||||
{
|
||||
tLog() << "Failed to open zip extract file:" << out.errorString() << info.name;
|
||||
fileInZip.close();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user