summaryrefslogtreecommitdiff
path: root/client/macro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macro.cc')
-rw-r--r--client/macro.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/macro.cc b/client/macro.cc
index dfe464d..320faa3 100644
--- a/client/macro.cc
+++ b/client/macro.cc
@@ -35,8 +35,8 @@
#include "macrodrawer.h"
#include "macrowindow.h"
-Macro::Macro(Entities &e, NetCom &n, QString t, QScrollArea *s)
- : entities(e), netcom(n), templ(t)
+Macro::Macro(Entities &e, NetCom &n, QString c, QString t, QScrollArea *s)
+ : entities(e), netcom(n), course(c), templ(t)
{
window = NULL;
drawer = NULL;
@@ -69,7 +69,7 @@ void Macro::update(QDomNode &node)
drawer = new MacroDrawer(this, elem.attribute("caption", name));
if(window == NULL) {
- window = new MacroWindow(netcom, templ, isstatic, iscompact,
+ window = new MacroWindow(netcom, course, templ, isstatic, iscompact,
scrollarea, drawer);
QFont f = window->font();