]> Some of my projects - anidbudpclient.git/commitdiff
Don't check for affected rows.
authorAPTX <marek321@gmail.com>
Sun, 26 May 2013 12:58:25 +0000 (14:58 +0200)
committerAPTX <marek321@gmail.com>
Sun, 26 May 2013 12:58:25 +0000 (14:58 +0200)
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

index 1c1940bc1e7d46285d26b0178ca16ea384f7b463..56e50e71ad507af18aef11b1f4fb9c2599068528 100644 (file)
@@ -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);
                }