From c89428b1bfe5099dc8fe2bf7f3e8547fc3205871 Mon Sep 17 00:00:00 2001 From: APTX Date: Mon, 3 Jun 2013 15:52:57 +0200 Subject: [PATCH] Fix clearPendingRequestDataErrors. clearPendingRequestDataErrors increments data_error_count so it should start with 0, not 1. --- localmylist/database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localmylist/database.cpp b/localmylist/database.cpp index 33b3710..b06aaae 100644 --- a/localmylist/database.cpp +++ b/localmylist/database.cpp @@ -1407,7 +1407,7 @@ bool Database::clearPendingRequestDataErrors() RaiiTransaction t(this); - int i = 1; + int i = 0; for (const auto &step : steps) { q.bindValue(":dataErrorCount", i); -- 2.52.0