Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-11-17 13:58:35 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-11-17 14:02:20 +0300
commite0f54428d09aca4867152d1bdd7d00c280c43db3 (patch)
tree6c6c13dc2629e882b210251ce14e05706616a585 /src/gui/sharedialog.cpp
parent52a11b08359e619350df3a60130d96c95fc6e021 (diff)
ShareDialog: softer line separator (#3737)
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r--src/gui/sharedialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index 0d5f3a01a..a433d2dec 100644
--- a/src/gui/sharedialog.cpp
+++ b/src/gui/sharedialog.cpp
@@ -83,9 +83,16 @@ ShareDialog::ShareDialog(AccountPtr account, const QString &sharePath, const QSt
_userGroupWidget = new ShareUserGroupWidget(account, sharePath, localPath, resharingAllowed, this);
_ui->shareWidgetsLayout->addWidget(_userGroupWidget);
+
QFrame *hline = new QFrame(this);
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);
+
+
autoShare = false;
}