From 7917d099f34acda6c4c90bca28710a7bd67800e9 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 28 Jan 2011 08:50:27 +0000 Subject: New cross client session system. --- client/macro.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'client/macro.cc') 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 ¯os, 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); -- cgit v1.2.3