client: Poll legacy CoreInfo when dialog is open
authorShane Synan <digitalcircuit36939@gmail.com>
Mon, 18 Jun 2018 21:13:36 +0000 (16:13 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Jun 2018 00:02:15 +0000 (02:02 +0200)
commit66082987f41afa5c19d8cfa711f185f9d5fe4bb1
tree9f171d45b1b99d9bd49ecb3a7a132026555bd461
parente375f7a6a6de045735a897ef05bf6dcc82770ff5
client: Poll legacy CoreInfo when dialog is open

On legacy cores (lacking SyncedCoreInfo), when CoreInfoDlg is open,
every 15 seconds resynchronize CoreInfo object to update the
"Connected Clients" count.  This matches expectations set by the
counting uptime clock, and shouldn't be a significant data impact as
info is only polled while the dialog is open.

Modern cores (with SyncedCoreInfo) will not poll, using signals to
update immediately as before.
src/qtui/coreinfodlg.cpp
src/qtui/coreinfodlg.h