summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-05-29 07:36:22 +0200
committerMontel Laurent <[email protected]>2015-05-29 07:36:22 +0200
commit337be1ab568ed63dae26fb737e918a2ec9f45db0 (patch)
treead23124dad9571c085fa4c15050abf6a54ee3420
parentdfa89c54458f0f4f3aadb7a212376162524cdc1c (diff)
Fix translation
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/main.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0934534..6454a9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,6 @@ include(KDECompilerSettings)
include(KDECMakeSettings)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
-add_definitions(-DTRANSLATION_DOMAIN="kbreakout")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
add_subdirectory( src )
diff --git a/src/main.cpp b/src/main.cpp
index 047fb27..cd84fb7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -32,7 +32,7 @@ int main(int argc, char *argv[])
migrate.setConfigFiles(QStringList() << QStringLiteral("kbreakoutrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kbreakoutui.rc"));
migrate.migrate();
-
+ KLocalizedString::setApplicationDomain("kbreakout");
KAboutData aboutData(QLatin1Literal("kbreakout"), i18n("KBreakOut"), QLatin1Literal("1.2.0"));
aboutData.setShortDescription(i18n("A breakout like game for KDE"));