Commit 4a15c2ab authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Make the translators tab of the About dialog appear

Use KLocalizedString::setApplicationDomain, it's the correct thing for apps

Ideally one would remove -DTRANSLATION_DOMAIN= since it's mainly for libraries but in
this case there's core and console folders that even if not libraries make it harder
to remove -DTRANSLATION_DOMAIN= and make sure everything still works
so leaving the -DTRANSLATION_DOMAIN= since it doesn't hurt to have both
parent 7b86bf19
......@@ -28,6 +28,9 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("pimsettingexporter");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
Kdelibs4ConfigMigrator migrate(QStringLiteral("pimsettingexporter"));
migrate.setConfigFiles(QStringList() << QStringLiteral("pimsettingexporterrc"));
......
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