diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-25 16:39:11 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-25 16:39:11 +0100 |
commit | 0aba0c3fc68712383774263d0906f8e996e1e9c0 (patch) | |
tree | 440ef06305b0cbd81eba04af52a43eda796d5407 /framework | |
parent | 12676f31b4538026819603f9bbe48e4a4ff49153 (diff) | |
download | kube-0aba0c3fc68712383774263d0906f8e996e1e9c0.tar.gz kube-0aba0c3fc68712383774263d0906f8e996e1e9c0.zip |
Cleanup
Diffstat (limited to 'framework')
-rw-r--r-- | framework/actions/action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/actions/action.cpp b/framework/actions/action.cpp index 905f6f57..096c93cc 100644 --- a/framework/actions/action.cpp +++ b/framework/actions/action.cpp | |||
@@ -48,7 +48,7 @@ void Action::setContext(Context *context) | |||
48 | //Get notified when any property changes | 48 | //Get notified when any property changes |
49 | for (int i = 0; i < context->metaObject()->propertyCount(); i++) { | 49 | for (int i = 0; i < context->metaObject()->propertyCount(); i++) { |
50 | auto property = context->metaObject()->property(i) ; | 50 | auto property = context->metaObject()->property(i) ; |
51 | qWarning() << "Property " << property.name() << property.hasNotifySignal() << property.notifySignal().name(); | 51 | // qWarning() << "Property " << property.name() << property.hasNotifySignal() << property.notifySignal().name(); |
52 | if (QString(property.name()) != "objectName") { | 52 | if (QString(property.name()) != "objectName") { |
53 | //We do what SIGNAL does to connect to the changed signal automatically | 53 | //We do what SIGNAL does to connect to the changed signal automatically |
54 | QObject::connect(context, "2"+property.notifySignal().name()+"()", this, SLOT(contextChanged())); | 54 | QObject::connect(context, "2"+property.notifySignal().name()+"()", this, SLOT(contextChanged())); |