common: Remove the lastAwayMessage Q_PROPERTY declaration
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 23 May 2018 21:01:41 +0000 (23:01 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 23 May 2018 22:33:28 +0000 (00:33 +0200)
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

index aa90f47..9d203e5 100644 (file)
@@ -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)