diff --git a/ksmserver/screenlocker/greeter/sessions.h b/ksmserver/screenlocker/greeter/sessions.h index 67ac813cd..8a4c0426c 100644 --- a/ksmserver/screenlocker/greeter/sessions.h +++ b/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();