projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make QuasselTopia run on the Greenphone! \o/
[quassel.git]
/
src
/
qtopia
/
chatwidget.cpp
diff --git
a/src/qtopia/chatwidget.cpp
b/src/qtopia/chatwidget.cpp
index
6a5ba02
..
e60083b
100644
(file)
--- a/
src/qtopia/chatwidget.cpp
+++ b/
src/qtopia/chatwidget.cpp
@@
-24,6
+24,7
@@
ChatWidget::ChatWidget(QWidget *parent) : QTextEdit(parent) {
setStyleSheet("background-color: rgba(255, 255, 255, 60%)");
ChatWidget::ChatWidget(QWidget *parent) : QTextEdit(parent) {
setStyleSheet("background-color: rgba(255, 255, 255, 60%)");
+ setTextInteractionFlags(Qt::TextBrowserInteraction);
}
void ChatWidget::setContents(QList<ChatLine *> lines) {
}
void ChatWidget::setContents(QList<ChatLine *> lines) {
@@
-33,13
+34,13
@@
void ChatWidget::setContents(QList<ChatLine *> lines) {
}
void ChatWidget::prependMsg(AbstractUiMsg *msg) {
}
void ChatWidget::prependMsg(AbstractUiMsg *msg) {
- ChatLine *line =
dynam
ic_cast<ChatLine*>(msg);
+ ChatLine *line =
stat
ic_cast<ChatLine*>(msg);
Q_ASSERT(line);
prependChatLine(line);
}
void ChatWidget::appendMsg(AbstractUiMsg *msg) {
Q_ASSERT(line);
prependChatLine(line);
}
void ChatWidget::appendMsg(AbstractUiMsg *msg) {
- ChatLine *line =
dynam
ic_cast<ChatLine*>(msg);
+ ChatLine *line =
stat
ic_cast<ChatLine*>(msg);
Q_ASSERT(line);
appendChatLine(line);
}
Q_ASSERT(line);
appendChatLine(line);
}