]> Some of my projects - localmylist.git/commitdiff
Use the correct constructor. This made MyListAddCommand edit non-existing MyList...
authorAPTX <marek321@gmail.com>
Thu, 14 Jun 2012 11:50:18 +0000 (13:50 +0200)
committerAPTX <marek321@gmail.com>
Thu, 14 Jun 2012 11:50:18 +0000 (13:50 +0200)
localmylist/requesthandler.cpp

index 0a1dba6ac3de1783aa508d9187832bd3cf540d38..2495e776bbf397614cde5b89824799b70342ff99 100644 (file)
@@ -350,7 +350,7 @@ void RequestHandler::fileRequestComplete(bool success)
        // File is not in mylist
        if (!reply->lid())
        {
-               MyListAddCommand cmd(next.fid);
+               MyListAddCommand cmd(next.fid, false);
                cmd.setEd2k(reply->ed2k());
                cmd.setSize(reply->size());
                cmd.setViewed(MyList::instance()->settings()->get("myListDefaultViewed").toBool());