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

index f45ebaa..78ac86f 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 4a01766..a40739c 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();