mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:15:39 +00:00
UI: Temporary hide the "Ask to Connect" flag
This commit is contained in:
parent
602175f03f
commit
aa228fc683
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user