summaryrefslogtreecommitdiff
path: root/client/macrodrawer.cc
diff options
context:
space:
mode:
authordeva <deva>2009-04-02 10:03:39 +0000
committerdeva <deva>2009-04-02 10:03:39 +0000
commitee1bf7f6c7617f26b415d1298378a8b4c9ee2d19 (patch)
tree403fb3c69740da5cfae865d6d3fc60f461290b54 /client/macrodrawer.cc
parent66a6890bfb21d5610967331a77951d82528bccfa (diff)
Removed old (out commented) code.
Diffstat (limited to 'client/macrodrawer.cc')
-rw-r--r--client/macrodrawer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/macrodrawer.cc b/client/macrodrawer.cc
index ec761e9..85cab3f 100644
--- a/client/macrodrawer.cc
+++ b/client/macrodrawer.cc
@@ -53,7 +53,6 @@ MacroDrawer::MacroDrawer(MacroWindow *p, QString title)
}
installEventFilter(this);
- // connect(b, SIGNAL(clicked()), mw, SLOT(toggleMacro()));
connect(b, SIGNAL(clicked()), this, SLOT(toggleMe()));
}
}
@@ -62,7 +61,7 @@ bool MacroDrawer::eventFilter(QObject *obj, QEvent *event)
{
if(event->type() == QEvent::MouseButtonRelease) {
QMouseEvent *mouseEvent = static_cast<QMouseEvent *>(event);
- if(mouseEvent->y() < 16 && isEnabled()) toggle();//mw->toggleMacro(); // Only activate when clicking the top.
+ if(mouseEvent->y() < 16 && isEnabled()) toggle();
}
return QObject::eventFilter(obj, event);
}