mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-18 23:09:42 +01:00
Fix after borked merge.
This commit is contained in:
parent
93722665af
commit
68c421e00e
@ -92,7 +92,8 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
||||
{
|
||||
QVariant& v = *it;
|
||||
QVariantMap m = v.toMap();
|
||||
int fileid = 0, artistid = 0, albumid = 0, trackid = 0;
|
||||
|
||||
int fileid = 0, artistid = 0, albumid = 0, trackid = 0, composerid = 0;
|
||||
|
||||
QString url = m.value( "url" ).toString();
|
||||
int mtime = m.value( "mtime" ).toInt();
|
||||
@ -109,10 +110,6 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
||||
uint discnumber = m.value( "discnumber" ).toUInt();
|
||||
int year = m.value( "year" ).toInt();
|
||||
|
||||
int fileid = 0, artistid = 0, albumid = 0, trackid = 0, composerid = 0;
|
||||
query_file_del.bindValue( 0, url );
|
||||
query_file_del.exec();
|
||||
|
||||
query_file.bindValue( 0, srcid );
|
||||
query_file.bindValue( 1, url );
|
||||
query_file.bindValue( 2, size );
|
||||
|
Loading…
x
Reference in New Issue
Block a user