From 44f095a425086879d65deaac8e9961fbe55e85ff Mon Sep 17 00:00:00 2001 From: APTX Date: Wed, 24 Apr 2013 00:46:05 +0200 Subject: [PATCH] Mark vote requests as completed when they're completed... --- localmylist/requesthandler.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.52.0