mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Adds space bewteen different accounts and activity.
Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
parent
1b1468a9c6
commit
22a6303c9d
1 changed files with 8 additions and 0 deletions
|
@ -111,6 +111,14 @@ SettingsDialog::SettingsDialog(ownCloudGui *gui, QWidget *parent)
|
|||
_actionGroupWidgets.insert(action, _activitySettings[ai]);
|
||||
connect(action, &QAction::triggered, this, &SettingsDialog::showActivityPage);
|
||||
|
||||
// Adds space
|
||||
if(AccountManager::instance()->accounts().last() != ai){
|
||||
QWidget* spacer = new QWidget();
|
||||
spacer->setMinimumWidth(30);
|
||||
spacer->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||||
_toolBar->addWidget(spacer);
|
||||
}
|
||||
|
||||
slotRefreshActivity(ai.data());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue