projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5fb10a1
)
Fix typo
author
Kevin Funk
<krf@electrostorm.net>
Tue, 6 Jan 2009 19:50:01 +0000
(20:50 +0100)
committer
Kevin Funk
<krf@electrostorm.net>
Tue, 6 Jan 2009 20:38:53 +0000
(21:38 +0100)
src/uisupport/inputline.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/inputline.cpp
b/src/uisupport/inputline.cpp
index
b74e10e
..
60f34fb
100644
(file)
--- a/
src/uisupport/inputline.cpp
+++ b/
src/uisupport/inputline.cpp
@@
-102,15
+102,15
@@
void InputLine::on_returnPressed() {
}
void InputLine::on_textChanged(QString newText) {
}
void InputLine::on_textChanged(QString newText) {
- QStringList lineSep
e
rators;
- lineSep
e
rators << QString("\r\n")
+ QStringList lineSep
a
rators;
+ lineSep
a
rators << QString("\r\n")
<< QString('\n')
<< QString('\r');
QString lineSep;
<< QString('\n')
<< QString('\r');
QString lineSep;
- foreach(QString sep
erator, lineSepe
rators) {
- if(newText.contains(sep
e
rator)) {
- lineSep = sep
e
rator;
+ foreach(QString sep
arator, lineSepa
rators) {
+ if(newText.contains(sep
a
rator)) {
+ lineSep = sep
a
rator;
break;
}
}
break;
}
}