From ac3c57cd4d422236158211edaeeb1e9842a1ddac Mon Sep 17 00:00:00 2001 From: martinrotter Date: Wed, 26 Apr 2017 07:59:35 +0200 Subject: [PATCH] Added log when adding feed to DB. --- src/miscellaneous/databasequeries.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/miscellaneous/databasequeries.cpp b/src/miscellaneous/databasequeries.cpp index 73e56a520..fcd93483c 100755 --- a/src/miscellaneous/databasequeries.cpp +++ b/src/miscellaneous/databasequeries.cpp @@ -1193,6 +1193,8 @@ int DatabaseQueries::addFeed(QSqlDatabase db, int parent_id, int account_id, con int auto_update_interval, StandardFeed::Type feed_format, bool *ok) { QSqlQuery q(db); + qDebug() << "Adding feed with title '" << title.toUtf8() << "' to DB."; + q.setForwardOnly(true); q.prepare("INSERT INTO Feeds " "(title, description, date_created, icon, category, encoding, url, protected, username, password, update_type, update_interval, type, account_id) "