diff options
author | Helmut K. C. Tessarek <tessarek@evermeet.cx> | 2017-09-13 07:26:56 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-10-05 23:01:32 +0300 |
commit | e8f17f5b0bb43ef71cb225c3a9141fed82cbbcba (patch) | |
tree | 810f156c5901adbac644ac616c1dcea02f2dd455 /src/gui/sslerrordialog.cpp | |
parent | 7d1285d3134e9e49653e2230ca40b2f57d0efe93 (diff) |
remove qt4 code
Diffstat (limited to 'src/gui/sslerrordialog.cpp')
-rw-r--r-- | src/gui/sslerrordialog.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/sslerrordialog.cpp b/src/gui/sslerrordialog.cpp index 809be80aa..83ebcffe8 100644 --- a/src/gui/sslerrordialog.cpp +++ b/src/gui/sslerrordialog.cpp @@ -16,9 +16,7 @@ #include <QtGui> #include <QtNetwork> -#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) #include <QtWidgets> -#endif #include "ui_sslerrordialog.h" @@ -27,12 +25,10 @@ namespace OCC { Q_LOGGING_CATEGORY(lcSslErrorDialog, "gui.sslerrordialog", QtInfoMsg) -#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) namespace Utility { // Used for QSSLCertificate::subjectInfo which returns a QStringList in Qt5, but a QString in Qt4 QString escape(const QStringList &l) { return escape(l.join(';')); } } -#endif bool SslDialogErrorHandler::handleErrors(QList<QSslError> errors, const QSslConfiguration &conf, QList<QSslCertificate> *certs, AccountPtr account) { |