Commit 20e7daa4 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Use setApplicationDomain(), TRANSLATION_DOMAIN is for libraries.

parent 1bbef424
......@@ -38,8 +38,6 @@ include(KDECompilerSettings)
include(KDECMakeSettings)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_definitions(-DTRANSLATION_DOMAIN="ksnakeduel")
add_subdirectory(pics)
add_subdirectory(themes)
......
......@@ -47,6 +47,8 @@ int main(int argc, char* argv[])
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("ksnakeduel");
Kdelibs4ConfigMigrator migrate(QStringLiteral("ksnakeduel"));
migrate.setConfigFiles(QStringList() << QStringLiteral("ksnakeduelrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("ksnakeduelui.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