[Pkg-owncloud-commits] [owncloud-client] 345/484: ShareDialog: softer line separator (#3737)

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit e0f54428d09aca4867152d1bdd7d00c280c43db3
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Nov 17 11:58:35 2015 +0100

    ShareDialog: softer line separator (#3737)
---
 src/gui/sharedialog.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index 0d5f3a0..a433d2d 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;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list