summaryrefslogtreecommitdiff
path: root/client/macro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macro.cc')
-rw-r--r--client/macro.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/client/macro.cc b/client/macro.cc
index 3bcdaeb..4ac56f6 100644
--- a/client/macro.cc
+++ b/client/macro.cc
@@ -111,8 +111,15 @@ void Macro::init(QBoxLayout *layout, Macros &macros,
drawer = new MacroDrawer(this, xml_elem.attribute("caption", name),
NULL/*edge*/);
drawer->connect(drawer, SIGNAL(toggle()), window, SLOT(toggleMacro()));
- drawer->connect(window, SIGNAL(activationChanged(bool)), drawer,
- SLOT(activationChange(bool)));
+ drawer->connect(window, SIGNAL(activationChanged(bool)),
+ drawer, SLOT(activationChange(bool)));
+
+ /*
+ QObject::connect(drawer, SIGNAL(toggle()), window, SLOT(toggleMacro()));
+ QObject::connect(window, SIGNAL(activationChanged(bool)),
+ drawer, SLOT(activationChange(bool)));
+ */
+
//drawer->setAutoFillBackground(true);
//drawer->setContentsMargins(1,1,1,1);
window->setActive(false);