mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
ShareDialog: softer line separator (#3737)
This commit is contained in:
parent
52a11b0835
commit
e0f54428d0
1 changed files with 7 additions and 0 deletions
|
@ -83,9 +83,16 @@ ShareDialog::ShareDialog(AccountPtr account, const QString &sharePath, const QSt
|
||||||
_userGroupWidget = new ShareUserGroupWidget(account, sharePath, localPath, resharingAllowed, this);
|
_userGroupWidget = new ShareUserGroupWidget(account, sharePath, localPath, resharingAllowed, this);
|
||||||
_ui->shareWidgetsLayout->addWidget(_userGroupWidget);
|
_ui->shareWidgetsLayout->addWidget(_userGroupWidget);
|
||||||
|
|
||||||
|
|
||||||
QFrame *hline = new QFrame(this);
|
QFrame *hline = new QFrame(this);
|
||||||
hline->setFrameShape(QFrame::HLine);
|
hline->setFrameShape(QFrame::HLine);
|
||||||
|
QPalette p = palette();
|
||||||
|
// Make the line softer:
|
||||||
|
p.setColor(QPalette::Foreground, QColor::fromRgba((p.color(QPalette::Foreground).rgba() & 0x00ffffff) | 0x50000000));
|
||||||
|
hline->setPalette(p);
|
||||||
_ui->shareWidgetsLayout->addWidget(hline);
|
_ui->shareWidgetsLayout->addWidget(hline);
|
||||||
|
|
||||||
|
|
||||||
autoShare = false;
|
autoShare = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue