From: APTX Date: Tue, 23 Apr 2013 21:50:11 +0000 (+0200) Subject: Actually commit the vote changes. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=4f2975391586093b55cc842bbd8d85ef85d0975e;p=localmylist.git Actually commit the vote changes. --- diff --git a/localmylist/requesthandler.cpp b/localmylist/requesthandler.cpp index 759b4ae..3a3a7d3 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); + t.commit(); return; } @@ -657,6 +658,7 @@ void RequestHandler::myListUpdateVoteReplyRecieved(bool success) episode.myVoteDate = QDateTime::currentDateTime(); db->setEpisode(episode); + t.commit(); } } // namespace LocalMyList