summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-05-29 07:02:42 +0200
committerMontel Laurent <[email protected]>2015-05-29 07:02:42 +0200
commit23e7b688f5632287f7e5c13cf94e9bd1d7953814 (patch)
tree13223fb63fb9db06efdf895073ce95d2c16680e7
parente7fe5ca4ee6716c13310936676b705a1c233b56d (diff)
-rw-r--r--CMakeLists.txt1
-rw-r--r--main.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a88b5c..8072812 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,6 @@ include(KDECompilerSettings)
include(KDECMakeSettings)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
-add_definitions(-DTRANSLATION_DOMAIN="kbounce")
add_subdirectory( themes )
add_subdirectory( sounds )
diff --git a/main.cpp b/main.cpp
index 5419dd5..53adb70 100644
--- a/main.cpp
+++ b/main.cpp
@@ -37,7 +37,7 @@ int main(int argc, char **argv)
migrate.setConfigFiles(QStringList() << QLatin1String("kbouncerc"));
migrate.setUiFiles(QStringList() << QLatin1String("kbounceui.rc"));
migrate.migrate();
-
+ KLocalizedString::setApplicationDomain("kbounce");
KAboutData aboutData(QStringLiteral("kbounce"), i18n("KBounce"),
QStringLiteral("0.11"), i18n(description),
KAboutLicense::GPL, i18n(copyleft), QString(),