mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Hopefully fix delete problems
This commit is contained in:
@@ -167,8 +167,8 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
||||
|
||||
QString idstring;
|
||||
foreach( const QVariant& id, m_ids )
|
||||
idstring.append( '"' + id.toString() + "\", " );
|
||||
idstring.chop( 3 ); //remove the trailing "\", "
|
||||
idstring.append( id.toString() + ", " );
|
||||
idstring.chop( 2 ); //remove the trailing ", "
|
||||
|
||||
delquery.bindValue( 0, idstring );
|
||||
tDebug() << Q_FUNC_INFO << " bound idstring: " << idstring;
|
||||
|
Reference in New Issue
Block a user