From: <dhu...@us...> - 2007-02-16 22:06:59
|
Revision: 336 http://svn.sourceforge.net/qcell/?rev=336&view=rev Author: dhubleizh Date: 2007-02-16 14:06:58 -0800 (Fri, 16 Feb 2007) Log Message: ----------- - FQT block against REAK functions saving Modified Paths: -------------- trunk/qcell/parsers/FQT/FQTParserPlugin.cpp Modified: trunk/qcell/parsers/FQT/FQTParserPlugin.cpp =================================================================== --- trunk/qcell/parsers/FQT/FQTParserPlugin.cpp 2007-02-16 21:53:26 UTC (rev 335) +++ trunk/qcell/parsers/FQT/FQTParserPlugin.cpp 2007-02-16 22:06:58 UTC (rev 336) @@ -320,13 +320,21 @@ lf.fromXmlString(&content); // Check if we can use the generic type from the XML string -// if(!lf.fromXmlString(&content)); -// { -// qDebug(tr("Unable to parse out internal data!").toAscii()); -// -// return QByteArray(); -// } + if(!lf.fromXmlString(&content)); + { + qDebug(tr("Unable to parse out internal data!").toAscii()); + return QByteArray(); + } + else if (lf.getFunctonType() == LocalFunction::SUM_AND_SWITCH) + { + qDebug(tr("This format cannot store this function type.") + .toAscii() + ); + + return QByteArray(); + } + // Header result.append("FQT\n"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |