From 8201f0b6ea7e449bea2786f33d99aca7be0a3d34 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Thu, 18 May 2017 10:26:12 +0200 Subject: [PATCH] Share Dialog: Remove unused hline --- src/gui/sharedialog.cpp | 9 --------- 1 file changed, 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")); -- 2.30.2