Skip to content

Commit

Permalink
ShareDialog: softer line separator (#3737)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Nov 17, 2015
1 parent 52a11b0 commit e0f5442
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/gui/sharedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e0f5442

Please sign in to comment.