diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp index 45d27b15a..630bf5126 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp @@ -274,6 +274,8 @@ SpotifyAccountConfig::showLoggedIn() m_ui->loginButton->setText( tr( "Log Out" ) ); m_ui->loginButton->setEnabled( true ); + + emit sizeHintChanged(); } @@ -290,6 +292,8 @@ SpotifyAccountConfig::showLoggedOut() m_ui->loginButton->setText( tr( "Log In" ) ); m_ui->loginButton->setEnabled( true ); + + emit sizeHintChanged(); } diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.h b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.h index 81aa36a64..f066ce5ba 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.h +++ b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.h @@ -68,6 +68,7 @@ signals: void login( const QString& username, const QString& pw ); void logout(); void updatePrivacy( bool ); + void sizeHintChanged(); protected: void showEvent( QShowEvent* event ); diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.ui b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.ui index b269e2d44..e62548fb7 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.ui +++ b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.ui @@ -24,6 +24,18 @@ + + + 0 + 0 + + + + + 64 + 64 + + 64