From a4b5fd34f5c3d98a438ae3519cd404c2aeeaf330 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 28 Jun 2011 06:33:02 +0000 Subject: Hnadle 'important' attribute on macros. --- client/macro.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/macro.cc') diff --git a/client/macro.cc b/client/macro.cc index d6be5cc..dfe464d 100644 --- a/client/macro.cc +++ b/client/macro.cc @@ -45,6 +45,7 @@ Macro::Macro(Entities &e, NetCom &n, QString t, QScrollArea *s) isstatic = false; iscompact = false; + isimportant = false; } const char *Macro::type() @@ -62,6 +63,7 @@ void Macro::update(QDomNode &node) iscompleted = elem.attribute("completed", "false") == "true"; isstatic = elem.attribute("static", "false") == "true"; iscompact = elem.attribute("compact", "false") == "true"; + isimportant = elem.attribute("important", "false") == "true"; if(drawer == NULL) { drawer = new MacroDrawer(this, elem.attribute("caption", name)); -- cgit v1.2.3