diff options
author | deva <deva> | 2011-06-28 06:33:02 +0000 |
---|---|---|
committer | deva <deva> | 2011-06-28 06:33:02 +0000 |
commit | a4b5fd34f5c3d98a438ae3519cd404c2aeeaf330 (patch) | |
tree | 714992d8217e0c2a5321734aaf4331e9dc525678 /client/macro.cc | |
parent | 540221455626e4d48fee76d8c6cb86e5d2607f4e (diff) |
Hnadle 'important' attribute on macros.
Diffstat (limited to 'client/macro.cc')
-rw-r--r-- | client/macro.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |