Commit 9265e461 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Fix build with 5.14.2 and 5.15 beta2

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: anthonyfieroni, kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D28011
parent 0d2a59f0
......@@ -721,7 +721,11 @@ bool ServerTest::isSecurePossible() const
QList< ServerTest::Capability > ServerTest::capabilities() const
{
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
return d->capabilityResults.toList();
#else
return QList<ServerTest::Capability>(d->capabilityResults.cbegin(), d->capabilityResults.cend());
#endif
}
#include "moc_servertest.cpp"
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