From d611bad3836717425ddee17ae8b992de1955b2db Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 22 Jan 2012 23:16:53 +0100 Subject: [PATCH] * Fixed SQL Query. --- src/libtomahawk/database/databaseimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/database/databaseimpl.cpp b/src/libtomahawk/database/databaseimpl.cpp index 9d8bd3d7a..847685457 100644 --- a/src/libtomahawk/database/databaseimpl.cpp +++ b/src/libtomahawk/database/databaseimpl.cpp @@ -208,7 +208,7 @@ DatabaseImpl::file( int fid ) Tomahawk::result_ptr r; TomahawkSqlQuery query = newquery(); query.exec( QString( "SELECT url, mtime, size, md5, mimetype, duration, bitrate, " - "file_join.artist, file_join.album, file_join.track, file_join.composer " + "file_join.artist, file_join.album, file_join.track, file_join.composer, " "(select name from artist where id = file_join.artist) as artname, " "(select name from album where id = file_join.album) as albname, " "(select name from track where id = file_join.track) as trkname, "