X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fcoreconnectdlg.cpp;fp=src%2Fqtui%2Fcoreconnectdlg.cpp;h=e6d30625ab51344d62783474c48e666a08e068ad;hp=e60d4d693eab345b103aa7d9e84d9246f26b64de;hb=5910ce5b98f8752002a6a26199eac9a3c10cb9e7;hpb=b33f7f5cd3f706c27e2822c39606887ce8ade348 diff --git a/src/qtui/coreconnectdlg.cpp b/src/qtui/coreconnectdlg.cpp index e60d4d69..e6d30625 100644 --- a/src/qtui/coreconnectdlg.cpp +++ b/src/qtui/coreconnectdlg.cpp @@ -557,16 +557,14 @@ void CoreAccountEditDlg::on_accountName_textChanged(const QString &text) { } + // ======================================== // 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); @@ -610,5 +608,5 @@ SslCertDisplayDialog::SslCertDisplayDialog(const QString &host, const QSslCertif connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); +} #endif -};