diff options
-rw-r--r-- | client/macro.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/macro.cc b/client/macro.cc index 7a1b51b..d207474 100644 --- a/client/macro.cc +++ b/client/macro.cc @@ -64,7 +64,7 @@ void Macro::init(QBoxLayout *layout, Macros ¯os, bool initialising, NetCom & if(xml_elem.hasAttribute("requires")) { // Read and parse requirement list. - requires = xml_elem.attribute("requires").split(","); + requires = xml_elem.attribute("requires").split(QRegExp("\\W+"), QString::SkipEmptyParts); } // if(xml_elem.hasAttribute("header")) { |