summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r--client/macrowindow.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc
index 18ed218..ac44b06 100644
--- a/client/macrowindow.cc
+++ b/client/macrowindow.cc
@@ -43,13 +43,14 @@ extern QString user;
extern QString host;
extern quint16 port;
-MacroWindow::MacroWindow(NetCom *netcom, QDomNode &xml_doc, QString course, bool collapsed)
+MacroWindow::MacroWindow(NetCom *netcom, QDomNode &xml_doc, QString course,
+ bool collapsed, bool compact)
: Collapser()
{
this->course = course;
this->netcom = netcom;
- setCollapsedWidget(new ResumeWidget());
+ setCollapsedWidget(new ResumeWidget(compact));
this->lua = new LUA(this);