mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
Add more debugging for the delete issue
This commit is contained in:
parent
1c3a9da5ed
commit
719151b44e
@ -169,6 +169,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
||||
idstring.chop( 3 ); //remove the trailing "\", "
|
||||
|
||||
delquery.bindValue( 0, idstring );
|
||||
tDebug() << Q_FUNC_INFO << " bound idstring: " << idstring;
|
||||
if( !delquery.exec() )
|
||||
{
|
||||
qDebug() << "Failed to delete file:"
|
||||
@ -177,7 +178,7 @@ DatabaseCommand_DeleteFiles::exec( DatabaseImpl* dbi )
|
||||
<< 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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user