generic: stop using obsolete code paths

This commit is contained in:
Ivailo Monev 2015-10-28 05:23:15 +02:00
parent 562e784798
commit 1f58bf760b

View file

@ -37,7 +37,7 @@ KSslCertificateBox::KSslCertificateBox(QWidget *parent)
{
d->ui.setupUi(this);
// No fooling us with html tags
Q_FOREACH(QLabel* label, qFindChildren<QLabel *>(this)) {
Q_FOREACH(QLabel* label, this->findChildren<QLabel *>()) {
label->setTextFormat(Qt::PlainText);
}
}