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
/
bufferview.cpp
diff --git
a/gui/bufferview.cpp
b/gui/bufferview.cpp
index
4045f20
..
7e2cf21
100644
(file)
--- a/
gui/bufferview.cpp
+++ b/
gui/bufferview.cpp
@@
-106,3
+106,7
@@
void BufferView::dragEnterEvent(QDragEnterEvent *event) {
// not yet needed... this will be usefull to keep track of the active view when customizing them with drag and drop
QTreeView::dragEnterEvent(event);
}
// not yet needed... this will be usefull to keep track of the active view when customizing them with drag and drop
QTreeView::dragEnterEvent(event);
}
+
+void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) {
+ setExpanded(parent, true);
+}