summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
authordeva <deva>2008-06-09 14:50:00 +0000
committerdeva <deva>2008-06-09 14:50:00 +0000
commit95c75f805ec5f22f5e876dc3fddf8a72d6afd014 (patch)
tree499e6ac228fe5ccd6c900ddafc9611b5d750b2e7 /client/macrowindow.cc
parentbce7808fecc65d56b695be03f6b39fed51589562 (diff)
Fixed macrowindow generation errors when multiple macroes (some empty) are sent.
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r--client/macrowindow.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc
index aab9857..69df7f1 100644
--- a/client/macrowindow.cc
+++ b/client/macrowindow.cc
@@ -42,7 +42,7 @@ extern QString user;
extern QString host;
extern quint16 port;
-MacroWindow::MacroWindow(QDomDocument *xml_doc)
+MacroWindow::MacroWindow(QDomNode &xml_doc)
: QObject()
{
isclosed = false;
@@ -50,7 +50,7 @@ MacroWindow::MacroWindow(QDomDocument *xml_doc)
this->lua = new LUA(this);
// Execute the recursive function with documentElement
- recurser(xml_doc->documentElement(), NULL);
+ recurser(xml_doc, NULL);
}
MacroWindow::~MacroWindow()