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