]> Some of my projects - localmylist.git/commitdiff
Set lid when adding a new file to AniDB MyList.
authorAPTX <marek321@gmail.com>
Mon, 13 May 2013 02:18:10 +0000 (04:18 +0200)
committerAPTX <marek321@gmail.com>
Mon, 13 May 2013 02:18:10 +0000 (04:18 +0200)
localmylist/requesthandler.cpp

index 6458b84cad9c40cd111f7c49a513021dc71740de..8abe9a6269b479a487ce6b781edc2f71cb0d08de 100644 (file)
@@ -550,6 +550,9 @@ void RequestHandler::myListAddReplyRecieved(bool success)
                        return;
                }
 
+               if (reply->lid())
+                       f.lid = reply->lid();
+
                f.entryUpdate = QDateTime::currentDateTime();
                f.myUpdate = QDateTime::currentDateTime();