SSLButton: do not hardcode the background color

Reported in https://github.com/nextcloud/desktop/issues/871
This commit is contained in:
Olivier Goffart 2018-11-21 14:17:42 +01:00 committed by Markus Goetz
parent d6585b25e0
commit ba24ef3fe3

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);