Windows fixes

This commit is contained in:
Mykola Baibuz 2025-01-01 07:43:53 +02:00
parent 08e5ff2eef
commit 5fc80121b4

View file

@ -94,6 +94,9 @@ bool KillSwitch::disableKillSwitch() {
#endif #endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
if (isStrictKillSwitchEnabled()) {
return disableAllTraffic();
}
return WindowsFirewall::instance()->allowAllTraffic(); return WindowsFirewall::instance()->allowAllTraffic();
#endif #endif