summaryrefslogtreecommitdiff
path: root/client/macro.cc
diff options
context:
space:
mode:
authordeva <deva>2011-01-28 08:50:27 +0000
committerdeva <deva>2011-01-28 08:50:27 +0000
commit7917d099f34acda6c4c90bca28710a7bd67800e9 (patch)
treeea9427001b1bf6cd99b04e064a7948d8550e12d8 /client/macro.cc
parent34366d806d70184876ad7d195f21c7d4c257c778 (diff)
New cross client session system.
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);