projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d5912
)
Don't interpret HTML in the inputline history
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 12 Apr 2009 09:14:47 +0000
(11:14 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 12 Apr 2009 09:18:30 +0000
(11:18 +0200)
src/uisupport/inputline.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/inputline.cpp
b/src/uisupport/inputline.cpp
index
ce0fa37
..
6cd4fcb
100644
(file)
--- a/
src/uisupport/inputline.cpp
+++ b/
src/uisupport/inputline.cpp
@@
-243,10
+243,13
@@
void InputLine::resetLine() {
void InputLine::showHistoryEntry() {
// if the user changed the history, display the changed line
-
tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx])
;
+
QString text = tempHistory.contains(idx) ? tempHistory[idx] : history[idx]
;
#ifdef HAVE_KDE
+ setPlainText(text);
QTextCursor cursor = textCursor();
cursor.movePosition(QTextCursor::End);
setTextCursor(cursor);
+#else
+ setText(text);
#endif
}