From 12782161bc6b67d76e3e8ddddf9eda15a9684cc4 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 11 Oct 2020 20:07:00 -0400 Subject: Move Hide Usernames/Passwords into view menu * Fixes #4982 * Removed a lot of redundant and passthrough code --- src/gui/DatabaseWidget.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'src/gui/DatabaseWidget.cpp') 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 @@ -329,38 +329,6 @@ void DatabaseWidget::setPreviewSplitterSizes(const QList& sizes) m_previewSplitter->setSizes(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 */ -- cgit v1.2.3