mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 15:16:34 +02:00
Don't show spotify config widget if we have no resolver
This commit is contained in:
@@ -585,6 +585,9 @@ SpotifyAccount::icon() const
|
|||||||
QWidget*
|
QWidget*
|
||||||
SpotifyAccount::configurationWidget()
|
SpotifyAccount::configurationWidget()
|
||||||
{
|
{
|
||||||
|
if ( m_spotifyResolver.isNull() )
|
||||||
|
return 0;
|
||||||
|
|
||||||
if ( m_configWidget.isNull() )
|
if ( m_configWidget.isNull() )
|
||||||
{
|
{
|
||||||
m_configWidget = QWeakPointer< SpotifyAccountConfig >( new SpotifyAccountConfig( this ) );
|
m_configWidget = QWeakPointer< SpotifyAccountConfig >( new SpotifyAccountConfig( this ) );
|
||||||
|
Reference in New Issue
Block a user