mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refactor: Remove option to disable autologoff
Auto logoff was always enabled in normal builds anyway, even when the
user tried to disable it (see 8eff8cd).
This commit is contained in:
@@ -250,10 +250,6 @@ void SwiftGuiStd::loginRequested()
|
||||
{
|
||||
if (!m_loginDialog) { m_loginDialog.reset(new CLoginDialog(this)); }
|
||||
connect(m_loginDialog.data(), &CLoginDialog::requestNetworkSettings, this, &SwiftGuiStd::displayNetworkSettings);
|
||||
if (!CBuildConfig::isLocalDeveloperDebugBuild())
|
||||
{
|
||||
m_loginDialog->setAutoLogoff(true);
|
||||
}
|
||||
m_loginDialog->show();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user