summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
authordeva <deva>2008-09-23 10:09:40 +0000
committerdeva <deva>2008-09-23 10:09:40 +0000
commit4edb3b4deb2a0bc43379d905c9a662aeafcecf62 (patch)
tree74704ac2d08906f03d0d2a4085d1d6f4734a4df9 /client/macrowindow.cc
parenta1e53b2b03219a82be1c0a4480f4d61d1801f1e9 (diff)
Added resumewidget.
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") &&