summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <david@davidedmundson.co.uk>2012-09-02 17:39:40 +0100
committerDavid Edmundson <david@davidedmundson.co.uk>2012-09-02 17:39:40 +0100
commit341cb4a6e8bf3fe2cf1afab849f12592aeb5dc12 (patch)
tree794c1bf3c770eac1c504c47b05095615d15eb5b6
parent50f6f24542039cc1f4a590c118e85393a5cb0e02 (diff)
downloadlightdm-git-341cb4a6e8bf3fe2cf1afab849f12592aeb5dc12.tar.gz
Add default constructor to Qt power interface
-rw-r--r--liblightdm-qt/QLightDM/power.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblightdm-qt/QLightDM/power.h b/liblightdm-qt/QLightDM/power.h
index 5479ae99..896e9486 100644
--- a/liblightdm-qt/QLightDM/power.h
+++ b/liblightdm-qt/QLightDM/power.h
@@ -26,7 +26,7 @@ namespace QLightDM
Q_PROPERTY(bool canShutdown READ canShutdown() CONSTANT)
Q_PROPERTY(bool canRestart READ canRestart() CONSTANT)
- PowerInterface(QObject *parent);
+ PowerInterface(QObject *parent=0);
virtual ~PowerInterface();
bool canSuspend();