From b20c8a054c9d684828e4975126adb63b498a05f8 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Wed, 23 May 2018 23:01:41 +0200 Subject: [PATCH] common: Remove the lastAwayMessage Q_PROPERTY declaration Since this property is only synced by pre-0.13 cores, and not used by any released clients, it doesn't need to be marked as a Q_PROPERTY. Also avoids a warning for the property not having a getter. --- src/common/ircuser.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/ircuser.h b/src/common/ircuser.h index aa90f477..9d203e58 100644 --- a/src/common/ircuser.h +++ b/src/common/ircuser.h @@ -50,9 +50,6 @@ class IrcUser : public SyncableObject Q_PROPERTY(QDateTime loginTime READ loginTime WRITE setLoginTime) Q_PROPERTY(QString server READ server WRITE setServer) Q_PROPERTY(QString ircOperator READ ircOperator WRITE setIrcOperator) - // lastAwayMessage is only set by legacy (pre-0.13) cores, which automatically gets converted to - // the appropriate lastAwayMessageTime. Do not use this in new code. - Q_PROPERTY(int lastAwayMessage WRITE setLastAwayMessage) Q_PROPERTY(QDateTime lastAwayMessageTime READ lastAwayMessageTime WRITE setLastAwayMessageTime) Q_PROPERTY(QString whoisServiceReply READ whoisServiceReply WRITE setWhoisServiceReply) Q_PROPERTY(QString suserHost READ suserHost WRITE setSuserHost) -- 2.20.1