From 2d922cb21e9837f277513c7736d2407fdb6c1c1c Mon Sep 17 00:00:00 2001 From: APTX Date: Sun, 10 Oct 2010 17:16:02 +0200 Subject: [PATCH] Fix UptimeCommand still using old API. --- uptimecommand.cpp | 4 +--- uptimecommand.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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(); -- 2.52.0