Fix disconnected networks not collapsing on login
authorShane Synan <digitalcircuit36939@gmail.com>
Tue, 26 Jul 2016 21:42:45 +0000 (17:42 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Apr 2018 21:14:03 +0000 (23:14 +0200)
commit45a043425865562d49c86df81a22b4a5545664d5
tree10c9fa93950560c8bbe8b71a67e8d3838aa6e43e
parent26f73cfa7c4506c8bb8741bee056951ca584a043
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.

(cherry picked from commit af3b5761f118a0be37f9713e529efd874bf8e11e)
src/uisupport/bufferview.cpp