projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4be7e
)
Only expand network items in bufferviews.
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 19 Jun 2007 12:26:32 +0000
(12:26 +0000)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 19 Jun 2007 12:26:32 +0000
(12:26 +0000)
gui/bufferview.cpp
patch
|
blob
|
history
diff --git
a/gui/bufferview.cpp
b/gui/bufferview.cpp
index
7e2cf21
..
03ab758
100644
(file)
--- a/
gui/bufferview.cpp
+++ b/
gui/bufferview.cpp
@@
-108,5
+108,5
@@
void BufferView::dragEnterEvent(QDragEnterEvent *event) {
}
void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) {
- setExpanded(parent, true);
+
if(parent.parent() == QModelIndex())
setExpanded(parent, true);
}