Fix typo
authorKevin Funk <krf@electrostorm.net>
Tue, 6 Jan 2009 19:50:01 +0000 (20:50 +0100)
committerKevin Funk <krf@electrostorm.net>
Tue, 6 Jan 2009 20:38:53 +0000 (21:38 +0100)
src/uisupport/inputline.cpp

index b74e10e..60f34fb 100644 (file)
@@ -102,15 +102,15 @@ void InputLine::on_returnPressed() {
 }
 
 void InputLine::on_textChanged(QString newText) {
-  QStringList lineSeperators;
-  lineSeperators << QString("\r\n")
+  QStringList lineSeparators;
+  lineSeparators << QString("\r\n")
                 << QString('\n')
                 << QString('\r');
 
   QString lineSep;
-  foreach(QString seperator, lineSeperators) {
-    if(newText.contains(seperator)) {
-      lineSep = seperator;
+  foreach(QString separator, lineSeparators) {
+    if(newText.contains(separator)) {
+      lineSep = separator;
       break;
     }
   }