aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-08 18:19:39 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:14 -0300
commit27f41bcac569037d1440b960d16f149b5499870a (patch)
treefd25f9e1e0521ef38442fc3a46c8a672f5e32641
parent7ee3543fd19e49fffaf6f3213cc553ebb3ee636e (diff)
Uncomment usefull code to get reference-count action attribute work again for all values.
Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r--typesystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/typesystem.cpp b/typesystem.cpp
index 736627bf4..93e81eaa9 100644
--- a/typesystem.cpp
+++ b/typesystem.cpp
@@ -1394,9 +1394,9 @@ bool Handler::startElement(const QString &, const QString &n,
static QHash<QString, ReferenceCount::Action> actions;
if (actions.isEmpty()) {
actions["add"] = ReferenceCount::Add;
- //actions["add-all"] = ReferenceCount::AddAll;
+ actions["add-all"] = ReferenceCount::AddAll;
actions["remove"] = ReferenceCount::Remove;
- //actions["set"] = ReferenceCount::Set;
+ actions["set"] = ReferenceCount::Set;
actions["ignore"] = ReferenceCount::Ignore;
}
rc.action = actions.value(attributes["action"].toLower(), ReferenceCount::Invalid);