Commit 72f4163f authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Kdelibs4ConfigMigrator is going to be deprecated in KF6

parent 2bec0732
......@@ -13,7 +13,10 @@
#include <KAboutData>
#include <KLocalizedString>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include "kfinddlg.h"
#include "kfind_version.h"
......@@ -21,9 +24,13 @@
int main(int argc, char **argv)
{
QApplication app(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("kfind"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kfindrc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("kfind");
KAboutData aboutData(QStringLiteral("kfind"), i18n("KFind"),
......
Supports Markdown
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