refactor(dnssd_service): comment out QWidget related code

This commit is contained in:
uncor3
2026-06-09 21:53:41 +03:00
parent 628099bbec
commit d946adf626
2 changed files with 11 additions and 9 deletions
+6 -5
View File
@@ -19,7 +19,7 @@
#include "dnssd_service.h"
#include <QDebug>
#include <QMessageBox>
// #include <QMessageBox>
#include <QMutexLocker>
#include <cstring>
@@ -54,10 +54,11 @@ void DnssdService::startBrowsing()
if (err != kDNSServiceErr_NoError) {
qWarning() << "DNSServiceBrowse failed:" << err;
QMessageBox::warning(nullptr, "DNSSD failed to launch",
"Failed to start DNSSD browsing this means you "
"cannot use wireless devices and AirPlay please "
"solve this issue from dependency check area");
// FIXME: Show a warning message
// QMessageBox::warning(nullptr, "DNSSD failed to launch",
// "Failed to start DNSSD browsing this means you "
// "cannot use wireless devices and AirPlay please "
// "solve this issue from dependency check area");
return;
}
+5 -4
View File
@@ -30,11 +30,12 @@
#include <map>
#include <string>
#ifdef WIN32
// FIXME
// #ifdef WIN32
#include "dns_sd.h"
#else
#include <dns_sd.h>
#endif
// #else
// #include <dns_sd.h>
// #endif
class DnssdService : public QObject
{