Commit 753e1c82 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It's disabled in qt6

parent e7d499ce
Pipeline #121850 passed with stage
in 26 seconds
......@@ -29,8 +29,9 @@
#include <KAboutData>
#include <KCrash>
#include <KLocalizedString>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include "floppy.h"
int main(int argc, char *argv[])
......@@ -39,11 +40,11 @@ int main(int argc, char *argv[])
// Not needed in Qt6 (and doesn't exist at all)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QGuiApplication::setFallbackSessionManagementEnabled(false);
#endif
Kdelibs4ConfigMigrator migrator(QStringLiteral("kfloppy"));
migrator.setConfigFiles(QStringList() << QStringLiteral("kfloppyrc"));
migrator.migrate();
#endif
KLocalizedString::setApplicationDomain("kfloppy");
KAboutData aboutData(QStringLiteral("kfloppy"),
......
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