Commit 3319930c authored by Andrius Štikonas's avatar Andrius Štikonas
Browse files

Migrate kde4 config files.

parent f8f98b74
......@@ -21,12 +21,18 @@
#include <KAboutData>
#include <KDBusService>
#include <Kdelibs4ConfigMigrator>
#include <KLocalizedString>
int main(int argc, char *argv[])
{
KGpgApp *app = new KGpgApp(argc, argv);
Kdelibs4ConfigMigrator migrate(QLatin1Literal("kgpg"));
migrate.setConfigFiles({ QLatin1Literal("kgpgrc") });
migrate.setUiFiles({ QStringLiteral("keysmanager.rc"), QStringLiteral("kgpgeditor.rc") });
migrate.migrate();
KLocalizedString::setApplicationDomain("kgpg");
KAboutData about (
......
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