From ddb140d4307aba896eeaf7f87d3d9f0d83c90ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 12 Jan 2021 18:57:25 +0100 Subject: [PATCH] Remove misplaced code --- YACReaderLibrary/db/comic_model.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/YACReaderLibrary/db/comic_model.cpp b/YACReaderLibrary/db/comic_model.cpp index 59fa9887..abfa2aff 100644 --- a/YACReaderLibrary/db/comic_model.cpp +++ b/YACReaderLibrary/db/comic_model.cpp @@ -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);