From 7abb9cd6fa68810a9fb5bb98fdf2bb1aa2e00053 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 21 Nov 2018 14:17:42 +0100 Subject: [PATCH] SSLButton: do not hardcode the background color Reported in https://github.com/nextcloud/desktop/issues/871 (cherry picked from commit ba24ef3fe3185ebd676ec1239515651409159682) --- src/gui/sslbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/sslbutton.cpp b/src/gui/sslbutton.cpp index b41076ba42..7d05845809 100644 --- a/src/gui/sslbutton.cpp +++ b/src/gui/sslbutton.cpp @@ -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);