From: Shane Synan Date: Tue, 26 Jul 2016 21:42:45 +0000 (-0400) Subject: Fix disconnected networks not collapsing on login X-Git-Tag: travis-deploy-test~381 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=af3b5761f118a0be37f9713e529efd874bf8e11e;p=quassel.git Fix disconnected networks not collapsing on login Remove call to expandAll() - later calls to setExpandedState() should automatically expand connected networks. Before, Qt4 would collapse disconnected networks and expand connected networks, but Qt5 would always expand both. After, both collapse disconnected and expand connected. Resolves GH-237. --- diff --git a/src/uisupport/bufferview.cpp b/src/uisupport/bufferview.cpp index 8c28ac0f..dd1cbaff 100644 --- a/src/uisupport/bufferview.cpp +++ b/src/uisupport/bufferview.cpp @@ -69,7 +69,7 @@ void BufferView::init() hideColumn(2); setIndentation(10); - expandAll(); + // New entries will be expanded automatically when added; no need to call expandAll() header()->hide(); // nobody seems to use this anyway