summaryrefslogtreecommitdiff
path: root/client/macro.cc
diff options
context:
space:
mode:
authordeva <deva>2011-08-02 08:00:20 +0000
committerdeva <deva>2011-08-02 08:00:20 +0000
commited9e290b441a6486c576c2e2e4baa69fa0f3ed37 (patch)
tree759ace8ca615e3a4167a5e783297cc761b89b992 /client/macro.cc
parent23f39df8b8edeacfa5821050abbdc855acb2edd6 (diff)
New 'open course' feature.
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();