Commit 02921a21 authored by Laurent Montel's avatar Laurent Montel 😁

Migrate it

parent 4ea983e4
......@@ -26,6 +26,7 @@
#include <kcmdlineargs.h>
#include <k4aboutdata.h>
#include <Kdelibs4ConfigMigrator>
#include <KLocalizedString>
#include <qdebug.h>
......@@ -36,6 +37,11 @@
int main(int argc, char *argv[])
{
Kdelibs4ConfigMigrator migrate(QLatin1String("kalarm"));
migrate.setConfigFiles(QStringList() << QLatin1String("kalarmrc"));
migrate.setUiFiles(QStringList() << QLatin1String("kalarmui.rc"));
migrate.migrate();
KLocalizedString::setApplicationDomain("kalarm");
K4AboutData aboutData(PROGRAM_NAME, 0, ki18n("KAlarm"), KALARM_VERSION,
ki18n("Personal alarm message, command and email scheduler for KDE"),
......
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