mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-25 06:51:13 +02:00
Only turn on enable account when going back online
This commit is contained in:
@@ -234,8 +234,11 @@ AccountManager::connectAll()
|
||||
tDebug( LOGVERBOSE ) << Q_FUNC_INFO;
|
||||
foreach( Account* acc, m_accounts )
|
||||
{
|
||||
acc->authenticate();
|
||||
m_enabledAccounts << acc;
|
||||
if ( acc->enabled() )
|
||||
{
|
||||
acc->authenticate();
|
||||
m_enabledAccounts << acc;
|
||||
}
|
||||
|
||||
}
|
||||
m_connected = true;
|
||||
|
Reference in New Issue
Block a user