}
+
// ========================================
// SslCertDisplayDialog
// ========================================
+#ifdef HAVE_SSL
SslCertDisplayDialog::SslCertDisplayDialog(const QString &host, const QSslCertificate &cert, QWidget *parent)
: QDialog(parent)
{
-#ifndef HAVE_SSL
- Q_UNUSED(cert)
-#else
-
setWindowTitle(tr("SSL Certificate used by %1").arg(host));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
+}
#endif
-};