mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:57:24 +00:00
Revert "UI: Revert disabled "Ask to Connect" flag"
This commit is contained in:
parent
5ea5e84590
commit
849106e793
@ -425,6 +425,8 @@ void OptionsPage::setupTrafficBox()
|
||||
ctrl()->setFlagsEdited();
|
||||
});
|
||||
|
||||
m_cbAskToConnect->setVisible(false);
|
||||
|
||||
auto filterModeLayout = setupFilterModeLayout();
|
||||
|
||||
auto layout = new QVBoxLayout();
|
||||
|
@ -356,6 +356,8 @@ void TrayIcon::setupTrayMenu()
|
||||
addAction(m_menu, QIcon(), QString(), this, SLOT(switchTrayFlag(bool)), true);
|
||||
addHotKey(m_askToConnectAction, iniUser()->hotKeyAskToConnect());
|
||||
|
||||
m_askToConnectAction->setVisible(false);
|
||||
|
||||
m_trayMenuAction = addAction(m_menu, QIcon(), QString(), this, SLOT(switchTrayMenu(bool)));
|
||||
m_trayMenuAction->setVisible(false);
|
||||
|
||||
|
@ -30,7 +30,7 @@ void writeConfFlags(const FirewallConf &conf, PFORT_CONF_FLAGS confFlags)
|
||||
confFlags->filter_locals = conf.filterLocals();
|
||||
confFlags->stop_traffic = conf.stopTraffic();
|
||||
confFlags->stop_inet_traffic = conf.stopInetTraffic();
|
||||
confFlags->ask_to_connect = conf.askToConnect();
|
||||
confFlags->ask_to_connect = 0; // conf.askToConnect();
|
||||
confFlags->allow_all_new = conf.allowAllNew();
|
||||
|
||||
confFlags->app_block_all = conf.appBlockAll();
|
||||
|
Loading…
Reference in New Issue
Block a user