mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fix after borked merge.
This commit is contained in:
committed by
Dominik Schmidt
parent
93722665af
commit
68c421e00e
@@ -92,7 +92,8 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
|||||||
{
|
{
|
||||||
QVariant& v = *it;
|
QVariant& v = *it;
|
||||||
QVariantMap m = v.toMap();
|
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();
|
QString url = m.value( "url" ).toString();
|
||||||
int mtime = m.value( "mtime" ).toInt();
|
int mtime = m.value( "mtime" ).toInt();
|
||||||
@@ -109,10 +110,6 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
|||||||
uint discnumber = m.value( "discnumber" ).toUInt();
|
uint discnumber = m.value( "discnumber" ).toUInt();
|
||||||
int year = m.value( "year" ).toInt();
|
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( 0, srcid );
|
||||||
query_file.bindValue( 1, url );
|
query_file.bindValue( 1, url );
|
||||||
query_file.bindValue( 2, size );
|
query_file.bindValue( 2, size );
|
||||||
|
Reference in New Issue
Block a user