mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
Hopefully fix delete problems
This commit is contained in:
parent
bd4d5da641
commit
d2dc3082b1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user