Fixed how Favorites are loaded by using the right sorting.

This commit is contained in:
Luis Ángel San Martín 2016-08-23 22:03:20 +02:00
parent 036fad4a77
commit 94251d3045

View File

@ -582,7 +582,7 @@ void ComicModel::setupFavoritesModelData(const QString &databasePath)
"ORDER BY cdrl.ordering");
selectQuery.bindValue(":parentDefaultListId", 1);
selectQuery.exec();
setupModelData(selectQuery);
setupModelDataForList(selectQuery);
}
db.close();
QSqlDatabase::removeDatabase(_databasePath);