]> Some of my projects - anidbudpclient.git/commitdiff
Fix UptimeCommand still using old API.
authorAPTX <marek321@gmail.com>
Sun, 10 Oct 2010 15:16:02 +0000 (17:16 +0200)
committerAPTX <marek321@gmail.com>
Sun, 10 Oct 2010 15:16:02 +0000 (17:16 +0200)
uptimecommand.cpp
uptimecommand.h

index f45ebaa234f5475fd588cf1580ee6162415eb7ca..78ac86f32ed5c33d70dfa1602d440c586765d6d1 100644 (file)
@@ -25,10 +25,8 @@ int UptimeReply::uptime()
        return m_uptime;
 }
 
-void UptimeReply::setRawReply(ReplyCode replyCode, const QString &reply, Client *client)
+void UptimeReply::setRawReply(ReplyCode replyCode, const QString &reply)
 {
-       Q_UNUSED(client);
-
        switch (replyCode)
        {
                case UPTIME:
index 4a01766cc2504dc0890e886be24a2578081d7a09..a40739c5d3792a345f15998b73c0ca2dd3b992af 100644 (file)
@@ -27,7 +27,7 @@ public:
 
        int uptime();
 
-       void setRawReply(ReplyCode replyCode, const QString &reply, Client *client);
+       void setRawReply(ReplyCode replyCode, const QString &reply);
 
 private:
        void init();