From 4eb33594228a85cba1f6b1398fbe570a293374a1 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 a91890abf..ec57e12e2 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyAccountConfig.cpp @@ -41,6 +41,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( textEdited( QString ) ), this, SLOT( resetLoginButton() ) );