mirror of
https://github.com/KDE/krfb
synced 2026-07-01 15:31:19 -07:00
Publish service on local network depending on config
This commit is contained in:
@@ -86,7 +86,8 @@ bool InvitationsRfbServer::allowUnattendedAccess() const
|
||||
bool InvitationsRfbServer::start()
|
||||
{
|
||||
if(RfbServer::start()) {
|
||||
m_publicService->publishAsync();
|
||||
if(KrfbConfig::publishService())
|
||||
m_publicService->publishAsync();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user