mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Add more debugging for the delete issue
This commit is contained in:
@@ -169,6 +169,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
|||||||
idstring.chop( 3 ); //remove the trailing "\", "
|
idstring.chop( 3 ); //remove the trailing "\", "
|
||||||
|
|
||||||
delquery.bindValue( 0, idstring );
|
delquery.bindValue( 0, idstring );
|
||||||
|
tDebug() << Q_FUNC_INFO << " bound idstring: " << idstring;
|
||||||
if( !delquery.exec() )
|
if( !delquery.exec() )
|
||||||
{
|
{
|
||||||
qDebug() << "Failed to delete file:"
|
qDebug() << "Failed to delete file:"
|
||||||
@@ -177,7 +178,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
|||||||
<< delquery.boundValues();
|
<< delquery.boundValues();
|
||||||
}
|
}
|
||||||
|
|
||||||
tDebug() << Q_FUNC_INFO << " executed query was: " << delquery.lastQuery();
|
tDebug() << Q_FUNC_INFO << " executed query was: " << delquery.executedQuery();
|
||||||
}
|
}
|
||||||
|
|
||||||
emit done( m_files, source()->collection() );
|
emit done( m_files, source()->collection() );
|
||||||
|
Reference in New Issue
Block a user