mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Remove misplaced code
This commit is contained in:
@ -644,9 +644,7 @@ void ComicModel::setupModelData(const SearchModifiers modifier, const QString &f
|
||||
} catch (const std::exception &e) {
|
||||
QLOG_ERROR() << "Unable to parse query: " << e.what();
|
||||
}
|
||||
selectQuery.exec();
|
||||
|
||||
setupModelData(selectQuery);
|
||||
connectionName = db.connectionName();
|
||||
}
|
||||
QSqlDatabase::removeDatabase(connectionName);
|
||||
|
Reference in New Issue
Block a user