Commit cb510224 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compiles against qt5.15 (endl other other use Qt:: namespace now)

parent 80a644b4
......@@ -512,7 +512,13 @@ void KFindTreeView::saveResults()
stream << QStringLiteral("</dl>\n</body>\n</html>\n");
} else {
for (const KFindItem &item : itemList) {
stream << item.getFileItem().url().url() << endl;
stream << item.getFileItem().url().url()
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
;
}
}
......
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