fix: add network watcher back (#2240)
* feat: add reconnect in case of changing network * fix: reconnect to VPN on wakeup * fix: linux wakeup build
This commit is contained in:
parent
9bd1e6a0f5
commit
cd1e561fd4
14 changed files with 122 additions and 160 deletions
|
|
@ -200,7 +200,7 @@ void LinuxNetworkWatcherWorker::checkDevices() {
|
|||
void LinuxNetworkWatcherWorker::NMStateChanged(quint32 state)
|
||||
{
|
||||
if (state == NM_STATE_ASLEEP) {
|
||||
emit sleepMode();
|
||||
emit wakeup();
|
||||
}
|
||||
|
||||
logger.debug() << "NMStateChanged " << state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue