From: Manuel Nickschas Date: Tue, 19 Jun 2007 12:26:32 +0000 (+0000) Subject: Only expand network items in bufferviews. X-Git-Tag: 0.1.0~207 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a19a2f6e05b831aac9e85d21fbfc424aabb7a04e;ds=sidebyside Only expand network items in bufferviews. --- diff --git a/gui/bufferview.cpp b/gui/bufferview.cpp index 7e2cf217..03ab7580 100644 --- 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); }