1
0
mirror of https://invent.kde.org/network/krfb synced 2024-07-08 12:05:49 +00:00

Publish service on local network depending on config

This commit is contained in:
Amandeep Singh 2014-02-18 19:04:47 +05:30
parent ad79d51e8b
commit 85e13b7908

View File

@ -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;