projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash when encountering a topic with HTML tags
[quassel.git]
/
src
/
qtui
/
topicwidget.cpp
diff --git
a/src/qtui/topicwidget.cpp
b/src/qtui/topicwidget.cpp
index
89aeb06
..
464de09
100644
(file)
--- a/
src/qtui/topicwidget.cpp
+++ b/
src/qtui/topicwidget.cpp
@@
-144,7
+144,7
@@
void TopicWidget::setTopic(const QModelIndex &index) {
ui.topicEditButton->setVisible(!_readonly);
ui.topicLabel->setText(newtopic);
ui.topicEditButton->setVisible(!_readonly);
ui.topicLabel->setText(newtopic);
- ui.topicLineEdit->setText(newtopic);
+ ui.topicLineEdit->set
Plain
Text(newtopic);
switchPlain();
}
switchPlain();
}
@@
-199,7
+199,7
@@
void TopicWidget::switchEditable() {
void TopicWidget::switchPlain() {
ui.stackedWidget->setCurrentIndex(0);
void TopicWidget::switchPlain() {
ui.stackedWidget->setCurrentIndex(0);
- ui.topicLineEdit->setText(_topic);
+ ui.topicLineEdit->set
Plain
Text(_topic);
updateGeometry();
emit switchedPlain();
}
updateGeometry();
emit switchedPlain();
}