summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-05-29 07:37:44 +0200
committerMontel Laurent <[email protected]>2015-05-29 07:37:44 +0200
commit7d33581fe714bc768e91d2a25db9d4bde33219a3 (patch)
tree578401612e15e1a693918eb139bde7f19e0e2eb5
parent8a400c2b26a35217843e78bcfe62aa3079745c9d (diff)
-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 fb076cd..ea29bca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,6 @@ include(KDECompilerSettings)
include(KDECMakeSettings)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
-add_definitions(-DTRANSLATION_DOMAIN="kdiamond")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
diff --git a/src/main.cpp b/src/main.cpp
index def7d34..b27de6f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
migrate.migrate();
qsrand(time(0));
-
+ KLocalizedString::setApplicationDomain("kdiamond");
KAboutData about(QLatin1Literal("kdiamond"), i18nc("The application's name", "KDiamond"), QLatin1Literal(version), i18n(description),
KAboutLicense::GPL, i18n("(C) 2008-2010 Stefan Majewsky and others"), QLatin1Literal("http://games.kde.org/kdiamond"));
about.addAuthor(i18n("Stefan Majewsky"), i18n("Original author and current maintainer"), QLatin1Literal("[email protected]"));