From c9fa940ac690cba9cd697681c6ae6e1ec1e64cc3 Mon Sep 17 00:00:00 2001 From: APTX Date: Thu, 14 Jun 2012 13:50:18 +0200 Subject: [PATCH] Use the correct constructor. This made MyListAddCommand edit non-existing MyList entries instead of adding new ones --- localmylist/requesthandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localmylist/requesthandler.cpp b/localmylist/requesthandler.cpp index 0a1dba6..2495e77 100644 --- a/localmylist/requesthandler.cpp +++ b/localmylist/requesthandler.cpp @@ -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()); -- 2.52.0