projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make BufferView trees expanded by default.
[quassel.git]
/
gui
/
buffer.cpp
diff --git
a/gui/buffer.cpp
b/gui/buffer.cpp
index
ec45141
..
cf764c1
100644
(file)
--- a/
gui/buffer.cpp
+++ b/
gui/buffer.cpp
@@
-67,6
+67,13
@@
void Buffer::init() {
}
}
+QString Buffer::displayName() {
+ if(bufferType() == ServerBuffer)
+ return tr("status");
+ else
+ return bufferName();
+}
+
void Buffer::setActive(bool a) {
if(a != active) {
active = a;
void Buffer::setActive(bool a) {
if(a != active) {
active = a;
@@
-74,17
+81,6
@@
void Buffer::setActive(bool a) {
}
}
}
}
-/*
-void Buffer::displayMsg(Message msg) {
- contents()->append(msg);
- emit msgDisplayed(msg);
-}
-
-void Buffer::prependMessages(QList<Message> msgs) {
- _contents = msgs + _contents;
-}
-*/
-
void Buffer::appendChatLine(ChatLine *line) {
lines.append(line);
emit chatLineAppended(line);
void Buffer::appendChatLine(ChatLine *line) {
lines.append(line);
emit chatLineAppended(line);