ServerItemWidget Styling

This commit is contained in:
Florian Märkl 2019-08-13 19:41:44 +02:00
commit a7ff2fef3f
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
10 changed files with 92 additions and 23 deletions

View file

@ -198,6 +198,7 @@ CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_thread_start(ChiakiDiscoveryThrea
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_thread_stop(ChiakiDiscoveryThread *thread)
{
chiaki_stop_pipe_stop(&thread->stop_pipe);
ChiakiErrorCode err = chiaki_thread_join(&thread->thread, NULL);
if(err != CHIAKI_ERR_SUCCESS)
return err;

View file

@ -28,6 +28,7 @@ static void discovery_service_report_state(ChiakiDiscoveryService *service);
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_service_init(ChiakiDiscoveryService *service, ChiakiDiscoveryServiceOptions *options, ChiakiLog *log)
{
service->log = log;
service->options = *options;
service->ping_index = 0;
@ -222,6 +223,8 @@ static void discovery_service_host_received(ChiakiDiscoveryHost *host, void *use
goto r2con;
}
CHIAKI_LOGI(service->log, "Discovery Service detected new host with id %s", host->host_id);
change = true;
index = service->hosts_count++;
memset(&service->hosts[index], 0, sizeof(ChiakiDiscoveryHost));