Fix KIO build for older versions

This commit is contained in:
Jean-Francois Dockes
2020-12-28 15:19:04 +01:00
parent 7fd0db14e8
commit 2e6f18841e
4 changed files with 29 additions and 1 deletions
+5
View File
@@ -35,12 +35,17 @@
#include <QDebug>
#include <QUrl>
#include <QStandardPaths>
#include <KF5/kio_version.h>
#include "kio_recoll.h"
#include "pathut.h"
using namespace KIO;
#if KIO_VERSION < ((5<<16)|(49<<8)|(0))
#define fastInsert insert
#endif
static const QString resultBaseName("recollResult");
// Check if the input URL is of the form that konqueror builds by