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:
parent
e021695230
commit
8b477e1f71
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user