summaryrefslogtreecommitdiffstats
path: root/framework/actions/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/actions/action.cpp')
-rw-r--r--framework/actions/action.cpp2
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()));