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