From 6f760f447d4445e8c0465f069121d57ec903fa25 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 9 Jul 2024 14:37:17 +0800 Subject: [PATCH] Remove now unused disguiseTabWidget Signed-off-by: Claudio Cambra --- src/gui/accountsettings.cpp | 8 -------- src/gui/accountsettings.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 0ed49dc2799fb..15498d5629f5b 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -1718,14 +1718,6 @@ void AccountSettings::initializeE2eEncryptionSettingsMessage() connect(actionEnableE2e, &QAction::triggered, this, &AccountSettings::slotE2eEncryptionGenerateKeys); } -void AccountSettings::disguiseTabWidget() const -{ - // Ensure all elements of the tab widget are hidden. - // Document mode lets the child view take up the whole view. - _ui->tabWidget->setDocumentMode(true); - _ui->tabWidget->tabBar()->hide(); -} - } // namespace OCC #include "accountsettings.moc" diff --git a/src/gui/accountsettings.h b/src/gui/accountsettings.h index 117a3aa536a0a..8981f1dffe6f8 100644 --- a/src/gui/accountsettings.h +++ b/src/gui/accountsettings.h @@ -141,8 +141,6 @@ private slots: /// Returns the alias of the selected folder, empty string if none [[nodiscard]] QString selectedFolderAlias() const; - void disguiseTabWidget() const; - Ui::AccountSettings *_ui; FolderStatusModel *_model;