Hide network tooltip info when disconnected
authorShane Synan <digitalcircuit36939@gmail.com>
Tue, 14 Jun 2016 13:39:31 +0000 (09:39 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 Sep 2016 19:50:44 +0000 (21:50 +0200)
commit73f9fcde56bcf4d55b73eb88a8d6cf8dc9f9f814
tree38708e6a0a3aff16b6085a0278ae517d32cfc820
parent991142d7dfd2e36f0b30089a223aafda3d9b4409
Hide network tooltip info when disconnected

Remove network information from tooltip when disconnected, showing a
"Not connected" line instead.

Don't show the server name if empty.

This fixes a slightly confusing state where the tooltip implies the
network's connected when it's actually not.
src/client/networkmodel.cpp