projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes #518 - random crash
[quassel.git]
/
src
/
qtui
/
coreconnectdlg.cpp
diff --git
a/src/qtui/coreconnectdlg.cpp
b/src/qtui/coreconnectdlg.cpp
index
e60d4d6
..
e6d3062
100644
(file)
--- a/
src/qtui/coreconnectdlg.cpp
+++ b/
src/qtui/coreconnectdlg.cpp
@@
-557,16
+557,14
@@
void CoreAccountEditDlg::on_accountName_textChanged(const QString &text) {
}
}
+
// ========================================
// SslCertDisplayDialog
// ========================================
// ========================================
// SslCertDisplayDialog
// ========================================
+#ifdef HAVE_SSL
SslCertDisplayDialog::SslCertDisplayDialog(const QString &host, const QSslCertificate &cert, QWidget *parent)
: QDialog(parent)
{
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);
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()));
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
+}
#endif
#endif
-};