SSLButton: do not hardcode the background color

Reported in https://github.com/nextcloud/desktop/issues/871

(cherry picked from commit ba24ef3fe3)
This commit is contained in:
Olivier Goffart 2018-11-21 14:17:42 +01:00
parent 1a370cbfdb
commit 7abb9cd6fa

View File

@ -141,7 +141,7 @@ QMenu *SslButton::buildCertMenu(QMenu *parent, const QSslCertificate &cert,
// create label first
QLabel *label = new QLabel(parent);
label->setStyleSheet(QLatin1String("QLabel { padding: 8px; background-color: #fff; }"));
label->setStyleSheet(QLatin1String("QLabel { padding: 8px; }"));
label->setTextFormat(Qt::RichText);
label->setText(details);