From 485447be3831145a33198805edc961a2dc314276 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sat, 14 Jul 2012 00:08:09 -0400 Subject: [PATCH] TWK-985: Log into spotify on return pressed in Spotify config --- src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp index 5e5676f24..5be0d52c5 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp @@ -38,6 +38,8 @@ SpotifyAccountConfig::SpotifyAccountConfig( SpotifyAccount *account ) { m_ui->setupUi( this ); + m_ui->loginButton->setDefault( true ); + connect( m_ui->loginButton, SIGNAL( clicked( bool ) ), this, SLOT( doLogin() ) ); connect( m_ui->usernameEdit, SIGNAL( textChanged( QString ) ), this, SLOT( resetLoginButton() ) );