1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

Remove unused variables after Twitter removal

This commit is contained in:
Uwe L. Korn 2014-04-06 23:29:15 +01:00
parent 44cc4899e1
commit 3591262165
2 changed files with 0 additions and 8 deletions

View File

@ -47,8 +47,6 @@ AccountModelFactoryProxy::filterAcceptsRow( int sourceRow, const QModelIndex& so
if ( idx.data( Tomahawk::Accounts::AccountModel::ChildrenOfFactoryRole )
.value< QList< Tomahawk::Accounts::Account* > >().isEmpty() )
return false;
Tomahawk::Accounts::AccountFactory* factory = qobject_cast< Tomahawk::Accounts::AccountFactory* >( idx.data( Tomahawk::Accounts::AccountModel::AccountData ).value< QObject* >() );
}
return rowType == m_filterRowType;

View File

@ -170,12 +170,6 @@ AccountWidget::update( const QPersistentModelIndex& idx, int accountIdx )
"</b><br>" +
account->accountFriendlyName() );
//we already know it's a factory because of the FactoryProxy
Tomahawk::Accounts::AccountFactory* fac =
qobject_cast< Tomahawk::Accounts::AccountFactory* >(
idx.data( Tomahawk::Accounts::AccountModel::AccountData )
.value< QObject* >() );
switch ( account->connectionState() )
{
case Tomahawk::Accounts::Account::Connected: