diff options
author | Jonathan White <support@dmapps.us> | 2020-10-12 03:07:00 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-10-12 03:08:27 +0300 |
commit | 12782161bc6b67d76e3e8ddddf9eda15a9684cc4 (patch) | |
tree | 0e3c9cd3774cfb09ffcc20fcaf8c8711ca2024d4 /src/gui/DatabaseWidget.cpp | |
parent | c2f36d877f7ac4d17d4ee20d44ba87e69e75bf34 (diff) |
Move Hide Usernames/Passwords into view menu
* Fixes #4982
* Removed a lot of redundant and passthrough code
Diffstat (limited to 'src/gui/DatabaseWidget.cpp')
-rw-r--r-- | src/gui/DatabaseWidget.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index 5cfe26e03..8d813aa61 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -330,38 +330,6 @@ void DatabaseWidget::setPreviewSplitterSizes(const QList<int>& sizes) } /** - * Get current state of entry view 'Hide Usernames' setting - */ -bool DatabaseWidget::isUsernamesHidden() const -{ - return m_entryView->isUsernamesHidden(); -} - -/** - * Set state of entry view 'Hide Usernames' setting - */ -void DatabaseWidget::setUsernamesHidden(bool hide) -{ - m_entryView->setUsernamesHidden(hide); -} - -/** - * Get current state of entry view 'Hide Passwords' setting - */ -bool DatabaseWidget::isPasswordsHidden() const -{ - return m_entryView->isPasswordsHidden(); -} - -/** - * Set state of entry view 'Hide Passwords' setting - */ -void DatabaseWidget::setPasswordsHidden(bool hide) -{ - m_entryView->setPasswordsHidden(hide); -} - -/** * Get current view state of entry view */ QByteArray DatabaseWidget::entryViewState() const |