mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Show Manual Hosts
This commit is contained in:
parent
37921d488c
commit
4f972f211f
3 changed files with 54 additions and 18 deletions
|
@ -30,12 +30,13 @@ class Settings;
|
|||
struct DisplayServer
|
||||
{
|
||||
DiscoveryHost discovery_host;
|
||||
ManualHost manual_host;
|
||||
bool discovered;
|
||||
|
||||
RegisteredHost registered_host;
|
||||
bool registered;
|
||||
|
||||
QString GetHostAddr() const { return discovered ? discovery_host.host_addr : QString(); }
|
||||
QString GetHostAddr() const { return discovered ? discovery_host.host_addr : manual_host.GetHost(); }
|
||||
};
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue