From 841d2c147677358ea0fbd9c4b5e16675038da46c Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Sun, 25 Jun 2023 20:41:39 +0200 Subject: [PATCH] Make constructor explicit --- core/backends/lan/mdnsdiscovery.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/backends/lan/mdnsdiscovery.h b/core/backends/lan/mdnsdiscovery.h index bc83ced31..2fb31df8b 100644 --- a/core/backends/lan/mdnsdiscovery.h +++ b/core/backends/lan/mdnsdiscovery.h @@ -18,13 +18,12 @@ class PublicService; class ServiceBrowser; }; -// This class overrides QTcpServer to bind QSslSocket to native socket descriptor instead of QTcpSocket class KDECONNECTCORE_EXPORT MdnsDiscovery : public QObject { Q_OBJECT public: - MdnsDiscovery(LanLinkProvider *parent); + explicit MdnsDiscovery(LanLinkProvider *parent); ~MdnsDiscovery(); void startDiscovering();