projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a19a2f6
)
Fixed a Bug where an issued /join did not trigger the creation of a Item in the Buffe...
author
Marcus Eggenberger
<egs@quassel-irc.org>
Tue, 19 Jun 2007 19:27:05 +0000
(19:27 +0000)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Tue, 19 Jun 2007 19:27:05 +0000
(19:27 +0000)
gui/bufferview.cpp
patch
|
blob
|
history
diff --git
a/gui/bufferview.cpp
b/gui/bufferview.cpp
index
03ab758
..
68b7f31
100644
(file)
--- a/
gui/bufferview.cpp
+++ b/
gui/bufferview.cpp
@@
-75,6
+75,8
@@
bool BufferViewFilter::filterAcceptsRow(int source_row, const QModelIndex &sourc
/*****************************************
* The TreeView showing the Buffers
*****************************************/
/*****************************************
* The TreeView showing the Buffers
*****************************************/
+// Please be carefull when reimplementing methods which are used to inform the view about changes to the data
+// to be on the safe side: call QTreeView's method aswell
BufferView::BufferView(QWidget *parent) : QTreeView(parent) {
}
BufferView::BufferView(QWidget *parent) : QTreeView(parent) {
}
@@
-109,4
+111,5
@@
void BufferView::dragEnterEvent(QDragEnterEvent *event) {
void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) {
if(parent.parent() == QModelIndex()) setExpanded(parent, true);
void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) {
if(parent.parent() == QModelIndex()) setExpanded(parent, true);
+ QTreeView::rowsInserted(parent, start, end);
}
}