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:
parent
44cc4899e1
commit
3591262165
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user