From 94251d30452481ac6d6567a3d4e92c0dc9af6b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 23 Aug 2016 22:03:20 +0200 Subject: [PATCH] Fixed how Favorites are loaded by using the right sorting. --- YACReaderLibrary/db/comic_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/db/comic_model.cpp b/YACReaderLibrary/db/comic_model.cpp index 33346196..ec758603 100644 --- a/YACReaderLibrary/db/comic_model.cpp +++ b/YACReaderLibrary/db/comic_model.cpp @@ -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);