[Kst] branches/work/kst/portto4/kst/src/datasources/ascii

Nicolas Brisset nicolas.brisset at eurocopter.com
Thu Oct 25 20:44:03 UTC 2012


SVN commit 1322470 by brisset:

Formated -> Formatted


 M  +1 -1      asciiconfigwidget.cpp  
 M  +1 -1      asciisource.cpp  
 M  +1 -1      asciisourceconfig.h  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciiconfigwidget.cpp #1322469:1322470
@@ -78,7 +78,7 @@
 
 void AsciiConfigWidgetInternal::updateFormatString() {
   bool enable = (AsciiSourceConfig::Interpretation)(_indexType->currentIndex() + 1)
-                  == AsciiSourceConfig::FormatedTime;
+                  == AsciiSourceConfig::FormattedTime;
   _indexTimeFormat->setEnabled(enable);
   _timeFormatLabel->setEnabled(enable);
 }
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1322469:1322470
@@ -319,7 +319,7 @@
 
   LexicalCast::AutoReset useDot(_config._useDot);
   
-  if (field == _config._indexVector && _config._indexInterpretation == AsciiSourceConfig::FormatedTime) {
+  if (field == _config._indexVector && _config._indexInterpretation == AsciiSourceConfig::FormattedTime) {
     LexicalCast::instance().setTimeFormat(_config._indexTimeFormat);
   }
 
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisourceconfig.h #1322469:1322470
@@ -73,7 +73,7 @@
 
     void load(const QDomElement& e);
 
-    enum Interpretation { Unknown = 0, INDEX, CTime, Seconds, FormatedTime, IntEnd = 0xffff };
+    enum Interpretation { Unknown = 0, INDEX, CTime, Seconds, FormattedTime, IntEnd = 0xffff };
     enum ColumnType { Whitespace = 0, Fixed, Custom, ColEnd = 0xffff };
 
     NamedParameter<QString, Key_delimiters, Tag_delimiters> _delimiters;


More information about the Kst mailing list