[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kalgebra
From:       Aleix Pol Gonzalez <aleixpol () gmail ! com>
Date:       2010-04-26 23:51:16
Message-ID: 20100426235116.9E788AC8A7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1119302 by apol:

remove useless verbosity

 M  +2 -2      analitza/expression.cpp  
 M  +0 -2      src/consolehtml.cpp  


--- trunk/KDE/kdeedu/kalgebra/analitza/expression.cpp #1119301:1119302
@@ -237,9 +237,9 @@
 				Container::ContainerType ct=static_cast<const Container*>(branch)->containerType();
 				isCondition=ct==Container::piece || ct==Container::otherwise;
 				
-				if(ct==Container::otherwise && cWhere->extractType(Container::otherwise)) {
+				if(cWhere->extractType(Container::otherwise)) {
 					m_err << i18nc("this is an error message. otherwise is the else in a mathml condition",
-						"Only one <em>otherwise</em> parameters is enough");
+						"The <em>otherwise</em> parameter should be the last one");
 					correct=false;
 				}
 				
--- trunk/KDE/kdeedu/kalgebra/src/consolehtml.cpp #1119301:1119302
@@ -150,10 +150,8 @@
 		correct=true;
 		
 		QString line;
-		qDebug()<< "XXXXXXXXXXXX" << stream.atEnd();
 		while (correct && !stream.atEnd()) {
 			line += stream.readLine(); // line of text excluding '\n'
-			qDebug() << "xxxxxxxxxxX" << line;
 			
 			ExpLexer lex(line);
 			ExpressionParser parser;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic