Commit 4621ba84 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It was already qt5.14

parent 0e5ef76c
Pipeline #48042 passed with stage
in 20 minutes and 40 seconds
......@@ -36,11 +36,7 @@ extern "C" {
namespace {
auto returnEndLine()
{
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
return endl;
#else
return Qt::endl;
#endif
}
}
#define ksDebug qCDebug(SIEVE_LOG)
......
......@@ -188,17 +188,9 @@ void SieveDebugDialog::slotGetScript(KManageSieve::SieveJob *job, bool success,
{
qCDebug(LIBKSIEVE_LOG) << "( ??," << success
<< ", ?," << active << ")"
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
<< "script:"
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
<< script;
mSieveJob = nullptr; // job deletes itself after returning from this slot!
......
......@@ -101,17 +101,9 @@ void VacationPageWidget::slotGetResult(const QString &serverName, const QStringL
return;
}
qCDebug(LIBKSIEVE_LOG) << serverName << sieveCapabilities
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
<< scriptName << "(" << active << ")"
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
;
if (mUrl.scheme() == QLatin1String("sieve")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment