From 06ba09f35745c05767f29234b665578602aa4048 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 6 Nov 2011 19:53:23 +0100 Subject: [PATCH] * DbCmd_AddFiles should emit the file-IDs, not the track-IDs. --- src/libtomahawk/database/databasecommand_addfiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/database/databasecommand_addfiles.cpp b/src/libtomahawk/database/databasecommand_addfiles.cpp index 6d840a766..4e776178f 100644 --- a/src/libtomahawk/database/databasecommand_addfiles.cpp +++ b/src/libtomahawk/database/databasecommand_addfiles.cpp @@ -211,7 +211,7 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi ) m_queries << query;*/ - m_ids << trackid; + m_ids << fileid; added++; } qDebug() << "Inserted" << added << "tracks to database";