Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KReversi
Commits
0df40779
Commit
0df40779
authored
Jan 18, 2022
by
Laurent Montel
😁
Browse files
Kdelibs4ConfigMigrator was removed in qt6
parent
a9564def
Pipeline
#125101
passed with stage
in 1 minute and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
0df40779
...
...
@@ -12,7 +12,9 @@
#include <KLocalizedString>
#include <KCrash>
#include <KDBusService>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include "highscores.h"
#include "mainwindow.h"
...
...
@@ -25,10 +27,12 @@ int main(int argc, char **argv)
QGuiApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
#endif
QApplication
application
(
argc
,
argv
);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"kreversi"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
QStringLiteral
(
"kreversirc"
));
migrate
.
setUiFiles
(
QStringList
()
<<
QStringLiteral
(
"kreversiui.rc"
));
migrate
.
migrate
();
#endif
KLocalizedString
::
setApplicationDomain
(
"kreversi"
);
KAboutData
aboutData
(
QStringLiteral
(
"kreversi"
),
i18n
(
"KReversi"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment