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:
authorChristian Kamm <mail@ckamm.de>2017-05-18 11:26:12 +0300
committerMarkus Goetz <markus@woboq.com>2017-05-22 11:59:57 +0300
commit8201f0b6ea7e449bea2786f33d99aca7be0a3d34 (patch)
tree38ac5a16535ee0f768350cfe94900b25d758322f /src/gui/sharedialog.cpp
parentf2b5fcd7060028e3fff4b3724ffaa2ba254421c4 (diff)
Share Dialog: Remove unused hline
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r--src/gui/sharedialog.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index 05cc7b791..d5cb5b30f 100644
--- a/src/gui/sharedialog.cpp
+++ b/src/gui/sharedialog.cpp
@@ -194,15 +194,6 @@ void ShareDialog::showSharingUi()
}
if (theme->linkSharing()) {
- if (userGroupSharing) {
- 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);
- }
-
_linkWidget = new ShareLinkWidget(_accountState->account(), _sharePath, _localPath, _maxSharingPermissions, this);
_linkWidget->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
_ui->shareWidgets->addTab(_linkWidget, tr("Public Links"));