From: Manuel Nickschas Date: Wed, 23 May 2018 21:01:41 +0000 (+0200) Subject: common: Remove the lastAwayMessage Q_PROPERTY declaration X-Git-Tag: travis-deploy-test~104 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b20c8a054c9d684828e4975126adb63b498a05f8;hp=56f686f70bbb212d83803be88adec6fdd225ea8e 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. --- 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)