Skip to content

Commit

Permalink
Removed setting entry again to toggle password fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
findus committed Oct 25, 2024
1 parent 9b563a5 commit 7a59e00
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions share/translations/keepassxc_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,10 +634,6 @@
<source>Hide notes in the entry preview panel</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable password fallback for Touch ID</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AutoType</name>
Expand Down
1 change: 0 additions & 1 deletion src/core/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
{Config::Security_NoConfirmMoveEntryToRecycleBin,{QS("Security/NoConfirmMoveEntryToRecycleBin"), Roaming, true}},
{Config::Security_EnableCopyOnDoubleClick,{QS("Security/EnableCopyOnDoubleClick"), Roaming, false}},
{Config::Security_QuickUnlock, {QS("Security/QuickUnlock"), Local, true}},
{Config::Security_TouchIdAllowFallbackToUserPassword, {QS("TouchIdAllowFallbackToUserPassword"), Local, false}},
{Config::Security_DatabasePasswordMinimumQuality, {QS("Security/DatabasePasswordMinimumQuality"), Local, 0}},

// Browser
Expand Down
1 change: 0 additions & 1 deletion src/core/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ class Config : public QObject
Security_NoConfirmMoveEntryToRecycleBin,
Security_EnableCopyOnDoubleClick,
Security_QuickUnlock,
Security_TouchIdAllowFallbackToUserPassword,
Security_DatabasePasswordMinimumQuality,

Browser_Enabled,
Expand Down
7 changes: 0 additions & 7 deletions src/gui/ApplicationSettingsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,16 +328,11 @@ void ApplicationSettingsWidget::loadSettings()
config()->get(Config::Security_LockDatabaseScreenLock).toBool());
#if defined(Q_OS_MACOS)
m_secUi->lockDatabasesOnUserSwitchCheckBox->setVisible(true);
m_secUi->quickUnlockFallbackEnabled->setVisible(true);
#else
m_secUi->lockDatabasesOnUserSwitchCheckBox->setVisible(false);
m_secUi->quickUnlockFallbackEnabled->setVisible(false);

#endif
m_secUi->lockDatabasesOnUserSwitchCheckBox->setChecked(
config()->get(Config::Security_LockDatabaseOnUserSwitch).toBool());
m_secUi->quickUnlockFallbackEnabled->setChecked(
config()->get(Config::Security_TouchIdAllowFallbackToUserPassword).toBool());
m_secUi->fallbackToSearch->setChecked(config()->get(Config::Security_IconDownloadFallback).toBool());

m_secUi->passwordsHiddenCheckBox->setChecked(config()->get(Config::Security_PasswordsHidden).toBool());
Expand Down Expand Up @@ -454,8 +449,6 @@ void ApplicationSettingsWidget::saveSettings()
config()->set(Config::Security_LockDatabaseMinimize, m_secUi->lockDatabaseMinimizeCheckBox->isChecked());
config()->set(Config::Security_LockDatabaseScreenLock, m_secUi->lockDatabaseOnScreenLockCheckBox->isChecked());
config()->set(Config::Security_LockDatabaseOnUserSwitch, m_secUi->lockDatabasesOnUserSwitchCheckBox->isChecked());
config()->set(Config::Security_TouchIdAllowFallbackToUserPassword,
m_secUi->quickUnlockFallbackEnabled->isChecked());
config()->set(Config::Security_IconDownloadFallback, m_secUi->fallbackToSearch->isChecked());

config()->set(Config::Security_PasswordsHidden, m_secUi->passwordsHiddenCheckBox->isChecked());
Expand Down
7 changes: 0 additions & 7 deletions src/gui/ApplicationSettingsWidgetSecurity.ui
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,6 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="quickUnlockFallbackEnabled">
<property name="text">
<string>Enable password fallback for Touch ID</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="lockDatabaseOnScreenLockCheckBox">
<property name="text">
Expand Down

0 comments on commit 7a59e00

Please sign in to comment.