From d595187fc17e1be737d6b18987a82fa5e1abd4de Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Fri, 16 Jun 2006 07:28:21 +0000 Subject: [PATCH] changed call to dom.save because gcc didn't like a reference to a variable created inside the function call --- src/meshlab/filterscript.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/meshlab/filterscript.cpp b/src/meshlab/filterscript.cpp index 053eb7447..643cbab7f 100644 --- a/src/meshlab/filterscript.cpp +++ b/src/meshlab/filterscript.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.3 2006/06/16 07:28:21 zifnab1974 +changed call to dom.save because gcc didn't like a reference to a variable created inside the function call + Revision 1.2 2006/06/16 01:26:07 cignoni Added Initial Filter Script Dialog @@ -93,7 +96,8 @@ bool FilterScript::save(QString filename) } QFile file("Prova.xml"); file.open(QIODevice::WriteOnly); - doc.save(QTextStream(&file),1); + QTextStream qstream(&file); + doc.save(qstream,1); file.close(); return true; } @@ -132,4 +136,4 @@ bool FilterScript::open(QString filename) //FilterParameter FilterScript::FilterPar(QDomNode &n) //{ // -//} \ No newline at end of file +//}