Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/ksslcertificatebox.cpp
Show All 30 Lines | |||||
31 | }; | 31 | }; | ||
32 | 32 | | |||
33 | KSslCertificateBox::KSslCertificateBox(QWidget *parent) | 33 | KSslCertificateBox::KSslCertificateBox(QWidget *parent) | ||
34 | : QWidget(parent), | 34 | : QWidget(parent), | ||
35 | d(new KSslCertificateBoxPrivate()) | 35 | d(new KSslCertificateBoxPrivate()) | ||
36 | { | 36 | { | ||
37 | d->ui.setupUi(this); | 37 | d->ui.setupUi(this); | ||
38 | // No fooling us with html tags | 38 | // No fooling us with html tags | ||
39 | Q_FOREACH (QLabel *label, findChildren<QLabel *>()) { | 39 | const QList<QLabel *> labels = findChildren<QLabel *>(); | ||
40 | for (QLabel *label : labels) { | ||||
40 | label->setTextFormat(Qt::PlainText); | 41 | label->setTextFormat(Qt::PlainText); | ||
41 | } | 42 | } | ||
42 | } | 43 | } | ||
43 | 44 | | |||
44 | KSslCertificateBox::~KSslCertificateBox() | 45 | KSslCertificateBox::~KSslCertificateBox() | ||
45 | { | 46 | { | ||
46 | delete d; | 47 | delete d; | ||
47 | } | 48 | } | ||
Show All 32 Lines |