vymmodel.cpp
changeset 832 6a6018ba4cc7
parent 831 25a950c2eb98
child 834 0fad394bc330
     1.1 --- a/vymmodel.cpp	Tue Mar 09 08:29:09 2010 +0000
     1.2 +++ b/vymmodel.cpp	Tue Mar 09 09:37:57 2010 +0000
     1.3 @@ -3149,7 +3149,7 @@
     1.4  	double x,y;
     1.5  	int n;
     1.6  	bool b,ok;
     1.7 -	QVariant returnValue;
     1.8 +	QVariant returnValue="";
     1.9  
    1.10  	// Split string s into command and parameters
    1.11  	parser.parseAtom (atom);
    1.12 @@ -4183,6 +4183,7 @@
    1.13  		qWarning(parser.errorMessage());
    1.14  		noErr=false;
    1.15  		errorMsg=parser.errorMessage();
    1.16 +		returnValue=errorMsg;
    1.17  	} 
    1.18  	return returnValue;
    1.19  }