1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-15 02:24:50 +02:00

Only show spotify wrench if resolver is running

This commit is contained in:
Leo Franchi
2012-06-21 16:35:27 -04:00
parent 2c6f26e36b
commit f8ea0667d4

View File

@@ -681,7 +681,7 @@ SpotifyAccount::icon() const
QWidget* QWidget*
SpotifyAccount::configurationWidget() SpotifyAccount::configurationWidget()
{ {
if ( m_spotifyResolver.isNull() ) if ( m_spotifyResolver.isNull() || !m_spotifyResolver.data()->running() )
return 0; return 0;
if ( m_configWidget.isNull() ) if ( m_configWidget.isNull() )