1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 09:19:41 +01:00

Don't show spotify config widget if we have no resolver

This commit is contained in:
Leo Franchi 2012-05-17 18:11:13 -04:00
parent fb842a3580
commit 183b0c8958

@ -585,6 +585,9 @@ SpotifyAccount::icon() const
QWidget*
SpotifyAccount::configurationWidget()
{
if ( m_spotifyResolver.isNull() )
return 0;
if ( m_configWidget.isNull() )
{
m_configWidget = QWeakPointer< SpotifyAccountConfig >( new SpotifyAccountConfig( this ) );