summaryrefslogtreecommitdiff
path: root/liblightdm-qt
diff options
context:
space:
mode:
authorAurelien Gateau <aurelien.gateau@canonical.com>2011-12-06 15:43:17 +0100
committerAurelien Gateau <aurelien.gateau@canonical.com>2011-12-06 15:43:17 +0100
commitcddf293766fcce438c33cf44cf20ebde31a1b745 (patch)
treec2cf1c4a5d965d532b119fb570c3ceb6032c02d1 /liblightdm-qt
parentabf6aa641d6269df0c3b6ca06544e6bddccd1720 (diff)
downloadlightdm-cddf293766fcce438c33cf44cf20ebde31a1b745.tar.gz
Mark "hostname" property as constant
Diffstat (limited to 'liblightdm-qt')
-rw-r--r--liblightdm-qt/QLightDM/greeter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblightdm-qt/QLightDM/greeter.h b/liblightdm-qt/QLightDM/greeter.h
index a9d8bacf..5f82b52b 100644
--- a/liblightdm-qt/QLightDM/greeter.h
+++ b/liblightdm-qt/QLightDM/greeter.h
@@ -27,7 +27,7 @@ class Q_DECL_EXPORT Greeter : public QObject
Q_PROPERTY(bool authenticated READ isAuthenticated ); //NOTFIY authenticationComplete
- Q_PROPERTY(QString hostname READ hostname);
+ Q_PROPERTY(QString hostname READ hostname CONSTANT);
public:
enum PromptType {