summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
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 d9d8f32..3a6d3c7 100644
--- a/client/macrowindow.cc
+++ b/client/macrowindow.cc
@@ -49,7 +49,7 @@ MacroWindow::MacroWindow(NetCom &n, QDomNode &xml_doc, QString course, bool coll
{
this->course = course;
- setCollapsedWidget(new QLabel(""));
+ setCollapsedWidget(new ResumeWidget());
this->lua = new LUA(this);
@@ -89,7 +89,7 @@ void MacroWindow::initMacro(QDomNode &node)
// Nothing to do here
} else if(xml_elem.tagName() == "resume") {
QString resume = xml_elem.text();
- ((QLabel*)collapsedWidget())->setText(resume);
+ ((ResumeWidget*)collapsedWidget())->setText(resume);
} else if(xml_elem.tagName() == "script") {
if(xml_elem.hasAttribute("language") &&