mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -07:00
Display Registered Hosts in SettingsDialog
This commit is contained in:
parent
d435a9d368
commit
c993ca611e
12 changed files with 192 additions and 16 deletions
|
@ -21,6 +21,7 @@
|
|||
#include <QMainWindow>
|
||||
|
||||
#include "discoverymanager.h"
|
||||
#include "host.h"
|
||||
|
||||
class DynamicGridWidget;
|
||||
class ServerItemWidget;
|
||||
|
@ -31,6 +32,9 @@ struct DisplayServer
|
|||
DiscoveryHost discovery_host;
|
||||
bool discovered;
|
||||
|
||||
RegisteredHost registered_host;
|
||||
bool registered;
|
||||
|
||||
QString GetHostAddr() const { return discovered ? discovery_host.host_addr : QString(); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue