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
Utilities
Ark
Commits
519d8587
Commit
519d8587
authored
Jan 19, 2022
by
Laurent Montel
😁
Browse files
Kdelibs4ConfigMigrator will be removed in qt6
parent
475a9cc4
Pipeline
#125544
passed with stage
in 3 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/main.cpp
View file @
519d8587
...
...
@@ -21,7 +21,9 @@
#include <KAboutData>
#include <KCrash>
#include <KDBusService>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <KLocalizedString>
#include <iostream>
...
...
@@ -68,11 +70,12 @@ int main(int argc, char **argv)
// Debug output can be turned on here:
//QLoggingCategory::setFilterRules(QStringLiteral("ark.debug = true"));
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"ark"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
QStringLiteral
(
"arkrc"
));
migrate
.
setUiFiles
(
QStringList
()
<<
QStringLiteral
(
"arkuirc"
));
migrate
.
migrate
();
#endif
KLocalizedString
::
setApplicationDomain
(
"ark"
);
...
...
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