From: APTX Date: Sun, 10 Oct 2010 15:16:02 +0000 (+0200) Subject: Fix UptimeCommand still using old API. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=2d922cb21e9837f277513c7736d2407fdb6c1c1c;p=anidbudpclient.git Fix UptimeCommand still using old API. --- diff --git a/uptimecommand.cpp b/uptimecommand.cpp index f45ebaa..78ac86f 100644 --- a/uptimecommand.cpp +++ b/uptimecommand.cpp @@ -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: diff --git a/uptimecommand.h b/uptimecommand.h index 4a01766..a40739c 100644 --- a/uptimecommand.h +++ b/uptimecommand.h @@ -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();