mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
Make sure qtabwidget in account settings is unnoticeable when file provider module is disabled
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
5af363ad9c
commit
c57a5820d0
1 changed files with 9 additions and 0 deletions
|
@ -193,6 +193,15 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent)
|
|||
#endif
|
||||
new ToolTipUpdater(_ui->_folderList);
|
||||
|
||||
#if defined(BUILD_FILE_PROVIDER_MODULE)
|
||||
|
||||
#else
|
||||
// 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();
|
||||
#endif
|
||||
|
||||
const auto mouseCursorChanger = new MouseCursorChanger(this);
|
||||
mouseCursorChanger->folderList = _ui->_folderList;
|
||||
mouseCursorChanger->model = _model;
|
||||
|
|
Loading…
Reference in a new issue