From 3aab514d4acd5c2c0459968e6b674a7bc88930ec Mon Sep 17 00:00:00 2001 From: APTX Date: Sun, 26 May 2013 14:58:25 +0200 Subject: [PATCH] Don't check for affected rows. A row isn't counted as affected if no change is made, but for the purposes of the client the end result is that the requested data is set in your MyList. --- mylistaddcommand.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mylistaddcommand.cpp b/mylistaddcommand.cpp index 1c1940b..56e50e7 100644 --- a/mylistaddcommand.cpp +++ b/mylistaddcommand.cpp @@ -280,6 +280,7 @@ void MyListAddReply::setRawReply(ReplyCode replyCode, const QString &reply) break; case MYLIST_ENTRY_EDITED: { +/* QString affectedEntries = reply.mid(reply.indexOf('\n')).trimmed(); bool ok; m_affectedEntries = affectedEntries.toInt(&ok); @@ -289,7 +290,7 @@ void MyListAddReply::setRawReply(ReplyCode replyCode, const QString &reply) signalReplyReady(false); return; } - +*/ m_stateSet = true; signalReplyReady(true); } -- 2.52.0