Commit e56b733c authored by Frederik Schwarzer's avatar Frederik Schwarzer

Use setApplicationDomain(), TRANSLATION_DOMAIN is for libraries.

parent bb8c958f
......@@ -33,8 +33,6 @@ include(KDEInstallDirs)
include(KDECompilerSettings)
include(KDECMakeSettings)
add_definitions(-DTRANSLATION_DOMAIN="kubrick")
add_subdirectory (src)
add_subdirectory (data)
add_subdirectory (themes)
......
......@@ -43,6 +43,8 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kubrick");
Kdelibs4ConfigMigrator migrate(QStringLiteral("kubrick"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kubrickrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kubrickui.rc"));
......
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