mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-25 23:06:23 +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;
|
tDebug( LOGVERBOSE ) << Q_FUNC_INFO;
|
||||||
foreach( Account* acc, m_accounts )
|
foreach( Account* acc, m_accounts )
|
||||||
{
|
{
|
||||||
acc->authenticate();
|
if ( acc->enabled() )
|
||||||
m_enabledAccounts << acc;
|
{
|
||||||
|
acc->authenticate();
|
||||||
|
m_enabledAccounts << acc;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
m_connected = true;
|
m_connected = true;
|
||||||
|
Reference in New Issue
Block a user