1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

I'm an idiot

This commit is contained in:
Jeff Mitchell 2011-09-30 17:10:38 -04:00
parent e021695230
commit 8b477e1f71

View File

@ -128,13 +128,11 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
dirquery.exec();
while ( dirquery.next() )
m_files << dirquery.value( 0 ).toString();
m_ids << dirquery.value( 0 ).toString();
}
else
{
foreach( const QVariant& id, m_ids )
foreach( const QVariant& id, m_ids )
m_files << QString( "servent://%1\t%2" ).arg( source()->userName() ).arg( id.toString() );
}
}
if ( m_deleteAll )