1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

* Style fixes for AccountManager.

This commit is contained in:
Christian Muehlhaeuser
2013-01-19 13:33:23 +01:00
parent bf9701eb01
commit 8ef825aba7

View File

@@ -146,7 +146,8 @@ AccountManager::loadPluginFactories( const QStringList& paths )
bool
AccountManager::hasPluginWithFactory( const QString& factory ) const
{
foreach( Account* account, m_accounts ) {
foreach ( Account* account, m_accounts )
{
if ( factoryFromId( account->accountId() ) == factory )
return true;
}
@@ -161,6 +162,7 @@ AccountManager::factoryFromId( const QString& accountId ) const
return accountId.split( "_" ).first();
}
AccountFactory*
AccountManager::factoryForAccount( Account* account ) const
{
@@ -283,6 +285,7 @@ AccountManager::loadFromConfig()
}
}
void
AccountManager::initSIP()
{
@@ -376,7 +379,7 @@ AccountManager::accountFromPath( const QString& accountPath )
}
}
Q_ASSERT_X( false, "Shouldn't have had no account factory accepting a path.. at least ResolverAccount!!", "");
Q_ASSERT_X( false, "Shouldn't have had no account factory accepting a path.. at least ResolverAccount!", "" );
return 0;
}
@@ -407,6 +410,7 @@ AccountManager::zeroconfAccount() const
return 0;
}
void
AccountManager::hookupAccount( Account* account ) const
{
@@ -450,6 +454,7 @@ AccountManager::onError( int code, const QString& msg )
}
}
void
AccountManager::onSettingsChanged()
{
@@ -460,6 +465,7 @@ AccountManager::onSettingsChanged()
}
}
void
AccountManager::onStateChanged( Account::ConnectionState state )
{