From: APTX Date: Sun, 26 May 2013 12:58:25 +0000 (+0200) Subject: Don't check for affected rows. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=3aab514d4acd5c2c0459968e6b674a7bc88930ec;p=anidbudpclient.git 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. --- 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); }