fixed native wireguard config import if there is no port in the Endpoint field

This commit is contained in:
vladimir.kuznetsov 2023-08-25 09:20:42 +05:00
parent 259eff3fea
commit 3f7e7f2601
3 changed files with 10 additions and 2 deletions

View file

@ -28,8 +28,10 @@ PageController::PageController(const QSharedPointer<ServersModel> &serversModel,
});
#endif
#if defined Q_OS_MACX
connect(this, &PageController::raiseMainWindow, []() { setDockIconVisible(true); });
connect(this, &PageController::hideMainWindow, []() { setDockIconVisible(false); });
#endif
}
QString PageController::getInitialPage()