[Kst] extragear/graphics/kst/src/libkstapp

Andrew Walker arwalker at sumusltd.com
Tue May 23 18:40:15 CEST 2006


SVN commit 544119 by arwalker:

CCBUG:118737 Do not remove '.' from equation name as there is no good reason to do so.

 M  +1 -1      ksteqdialog_i.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/ksteqdialog_i.cpp #544118:544119
@@ -144,7 +144,7 @@
 bool KstEqDialogI::newObject() {
   QString tag_name = _tagName->text();
   QString etext = _w->_equation->text();
-  etext.remove(QRegExp("[^a-zA-Z0-9\\(\\)\\+\\-\\*/\\%\\^\\|\\&\\!<>=_]"));
+  etext.remove(QRegExp("[^a-zA-Z0-9\\(\\)\\+\\-\\*/\\%\\^\\|\\&\\!<>=_.]"));
   if (etext.length() > 12) {
     etext.truncate(12);
     etext += "...";


More information about the Kst mailing list