X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_variabledict.cpp;h=a85bb523eea16446a58b18f463c5ceecdf91db6c;hb=bd2b29c8735d83ab48df13c3efee53f63570473e;hp=743ba4a27b182b404761bb37425b2d0fbaa81482;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/base/rs_variabledict.cpp b/src/base/rs_variabledict.cpp index 743ba4a..a85bb52 100644 --- a/src/base/rs_variabledict.cpp +++ b/src/base/rs_variabledict.cpp @@ -3,7 +3,9 @@ // Part of the Architektonas Project // Originally part of QCad Community Edition by Andrew Mustun // Extensively rewritten and refactored by James L. Hammons -// (C) 2010 Underground Software +// Portions copyright (C) 2001-2003 RibbonSoft +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information // // JLH = James L. Hammons // @@ -284,13 +286,11 @@ std::ostream & operator<<(std::ostream & os, RS_VariableDict & d) // Q3DictIterator it(d.variables); QHashIterator it(d.variables); -// for(; it.current(); ++it) while (it.hasNext()) { it.next(); -//Hmm, not sure about this... -#warning "Not sure if this is correct usage (.toAscii().data())... !!! FIX !!!" os << it.key().toAscii().data() << ": "; + switch (it.value()->getType()) { case RS2::VariableVoid: