mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Settings: Aling the non-accounts button on the right
This commit is contained in:
parent
0b8163fae1
commit
76903fb55a
1 changed files with 5 additions and 1 deletions
|
@ -69,9 +69,13 @@ SettingsDialog::SettingsDialog(ownCloudGui *gui, QWidget *parent) :
|
|||
addAction(closeWindowAction);
|
||||
|
||||
setObjectName("Settings"); // required as group for saveGeometry call
|
||||
|
||||
setWindowTitle(Theme::instance()->appNameGUI());
|
||||
|
||||
// Add a spacer so config buttonns are right aligned and account buttons will be left aligned
|
||||
auto spacer = new QWidget();
|
||||
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
toolBar->addWidget(spacer);
|
||||
|
||||
QIcon protocolIcon(QLatin1String(":/client/resources/activity.png"));
|
||||
_protocolAction = toolBar->addAction(protocolIcon, tr("Activity"));
|
||||
_protocolAction->setCheckable(true);
|
||||
|
|
Loading…
Reference in a new issue