From: APTX Date: Tue, 23 Apr 2013 22:46:05 +0000 (+0200) Subject: Mark vote requests as completed when they're completed... X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=44f095a425086879d65deaac8e9961fbe55e85ff;p=localmylist.git Mark vote requests as completed when they're completed... --- diff --git a/localmylist/requesthandler.cpp b/localmylist/requesthandler.cpp index 3a3a7d3..32e8cb3 100644 --- a/localmylist/requesthandler.cpp +++ b/localmylist/requesthandler.cpp @@ -648,6 +648,7 @@ void RequestHandler::myListUpdateVoteReplyRecieved(bool success) anime.myVoteDate = QDateTime::currentDateTime(); db->setAnime(anime); + db->clearPendingMyListUpdate(request); t.commit(); return; } @@ -658,6 +659,7 @@ void RequestHandler::myListUpdateVoteReplyRecieved(bool success) episode.myVoteDate = QDateTime::currentDateTime(); db->setEpisode(episode); + db->clearPendingMyListUpdate(request); t.commit(); }