Fix warning

Either define properties as constant or notify when it changes. In this
case it's not going to change, so leave it as CONSTANT.
wilder-5.14
Aleix Pol 12 years ago
parent 27bf13196f
commit 32d58c4f83
  1. 2
      ksmserver/screenlocker/greeter/sessions.h

@ -63,7 +63,7 @@ class SessionSwitching : public QObject
Q_OBJECT
Q_PROPERTY(bool switchUserSupported READ isSwitchUserSupported CONSTANT)
Q_PROPERTY(bool startNewSessionSupported READ isStartNewSessionSupported CONSTANT)
Q_PROPERTY(QAbstractItemModel* model READ sessionModel)
Q_PROPERTY(QAbstractItemModel* model READ sessionModel CONSTANT)
public:
SessionSwitching(QObject *parent = NULL);
virtual ~SessionSwitching();

Loading…
Cancel
Save