[SCM] ktp-text-ui packaging branch, master, updated. debian/16.04.2-1-88-g820317b
Maximiliano Curia
maxy at moszumanska.debian.org
Tue Sep 12 14:10:03 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=02a5ed8
The following commit has been merged in the master branch:
commit 02a5ed8f5fa324ed12e1d4dab978e33a8e9fb4b3
Author: Mariusz Glebocki <mglb at arccos-1.net>
Date: Mon Sep 5 23:13:19 2016 +0200
[lib] Insert chat text edit's history as plain text
Reviewed-by: Alexandr Akulich <akulichalexander at gmail.com>
REVIEW: 128842
---
lib/chat-text-edit.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/chat-text-edit.cpp b/lib/chat-text-edit.cpp
index 4d16e20..7e52d5d 100644
--- a/lib/chat-text-edit.cpp
+++ b/lib/chat-text-edit.cpp
@@ -228,13 +228,13 @@ void ChatTextEdit::getHistory(bool up)
addHistory(toPlainText());
}
- setText(QLatin1String(""));
+ setPlainText(QLatin1String(""));
} else {
m_historyPos--;
}
}
- setText(m_history[m_historyPos]);
+ setPlainText(m_history[m_historyPos]);
moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
}
@@ -375,7 +375,7 @@ void ChatTextEdit::completeNick()
}
// Set new text and cursor position
- setText(newLine);
+ setPlainText(newLine);
cursor.setPosition(pos);
setTextCursor(cursor);
}
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list