From 0aba0c3fc68712383774263d0906f8e996e1e9c0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 25 Feb 2016 16:39:11 +0100 Subject: Cleanup --- applications/kube-mail/package/contents/ui/main.qml | 6 +++--- framework/actions/action.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/kube-mail/package/contents/ui/main.qml b/applications/kube-mail/package/contents/ui/main.qml index f95f875f..7682a334 100644 --- a/applications/kube-mail/package/contents/ui/main.qml +++ b/applications/kube-mail/package/contents/ui/main.qml @@ -44,19 +44,19 @@ ApplicationWindow { // } KubeAction.Context { - id: "maillistcontext" + id: maillistcontext property variant mail mail: mailListView.currentMail } KubeAction.Action { - id: "markAsReadAction" + id: markAsReadAction actionId: "org.kde.kube.actions.mark-as-read" context: maillistcontext } KubeAction.Action { - id: "deleteAction" + id: deleteAction actionId: "org.kde.kube.actions.delete" context: maillistcontext } 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) //Get notified when any property changes for (int i = 0; i < context->metaObject()->propertyCount(); i++) { auto property = context->metaObject()->property(i) ; - qWarning() << "Property " << property.name() << property.hasNotifySignal() << property.notifySignal().name(); + // qWarning() << "Property " << property.name() << property.hasNotifySignal() << property.notifySignal().name(); if (QString(property.name()) != "objectName") { //We do what SIGNAL does to connect to the changed signal automatically QObject::connect(context, "2"+property.notifySignal().name()+"()", this, SLOT(contextChanged())); -- cgit v1.2.3