Share Dialog: Remove unused hline
authorChristian Kamm <mail@ckamm.de>
Thu, 18 May 2017 08:26:12 +0000 (10:26 +0200)
committerMarkus Goetz <markus@woboq.com>
Mon, 22 May 2017 08:59:57 +0000 (10:59 +0200)
src/gui/sharedialog.cpp

index 05cc7b7914837906f2db93616c5e96dc5bdbff5c..d5cb5b30f6162209fe1961848994fecd14fdf36b 100644 (file)
@@ -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"));