client: Show when End Session unavailable, polish
authorShane Synan <digitalcircuit36939@gmail.com>
Wed, 28 Mar 2018 21:42:02 +0000 (16:42 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 17:37:44 +0000 (19:37 +0200)
commit7fe7ca0631d2e8327351806947a1e030eb203cf7
treebb64bffc9e4fae2f430cd2cef41e0fd6b66639c7
parented7cd841afa09766477e3bd03ff1700321d2540c
client: Show when End Session unavailable, polish

Show when the End Session option is unavailable, adding a tooltip to
either point out an outdated core, or a client that doesn't support
it.

Before RemoteDisconnect was added to the core, it didn't share any
client features with other connected clients, so there's no way to
tell if a client supports a feature or not.

See 78b37c1a0610d9a4fb26ba0dec7337d6f7960041
"Transmit feature flag for remote disconnecting with peer info"

Disable and rename the End Session button when clicked, giving
immediate feedback when Quassel's used with a high-latency connection.
src/qtui/coresessionwidget.cpp