mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fixed how Favorites are loaded by using the right sorting.
This commit is contained in:
parent
036fad4a77
commit
94251d3045
@ -582,7 +582,7 @@ void ComicModel::setupFavoritesModelData(const QString &databasePath)
|
|||||||
"ORDER BY cdrl.ordering");
|
"ORDER BY cdrl.ordering");
|
||||||
selectQuery.bindValue(":parentDefaultListId", 1);
|
selectQuery.bindValue(":parentDefaultListId", 1);
|
||||||
selectQuery.exec();
|
selectQuery.exec();
|
||||||
setupModelData(selectQuery);
|
setupModelDataForList(selectQuery);
|
||||||
}
|
}
|
||||||
db.close();
|
db.close();
|
||||||
QSqlDatabase::removeDatabase(_databasePath);
|
QSqlDatabase::removeDatabase(_databasePath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user