From: APTX Date: Mon, 3 Jun 2013 13:52:57 +0000 (+0200) Subject: Fix clearPendingRequestDataErrors. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=c89428b1bfe5099dc8fe2bf7f3e8547fc3205871;p=localmylist.git Fix clearPendingRequestDataErrors. clearPendingRequestDataErrors increments data_error_count so it should start with 0, not 1. --- 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);