Filetype to MediaImageContainer instead of MediaImage.
authorMikko Keinänen <mikko.keinanen@gmail.com>
Sat, 11 Dec 2010 23:29:32 +0000 (01:29 +0200)
committerMikko Keinänen <mikko.keinanen@gmail.com>
Sat, 11 Dec 2010 23:29:32 +0000 (01:29 +0200)
src/models/filepathmodel.cpp

index 3f38bb5..e351846 100644 (file)
@@ -122,7 +122,7 @@ bool FilePathModel::insertRows(int row, int count, const QModelIndex &parent)
         "VALUES (NULL, '', :filetype, :setupid, :lastscanned )"));
     beginInsertRows(QModelIndex(), row, row + count - 1);
     for(int i = 0; i < count; ++i) {
-        q.bindValue(":filetype", EmuFrontFile::FileType_MediaImage);
+        q.bindValue(":filetype", EmuFrontFile::FileType_MediaImageContainer);
         q.bindValue(":setupid", supId);
         q.bindValue(":lastscanned", 0);
         if (!q.exec()) {