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;