summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <lueck@hube-lueck.de>2016-11-20 18:33:59 (GMT)
committerBurkhard Lück <lueck@hube-lueck.de>2016-11-20 18:33:59 (GMT)
commit890aeb6d9137fbb367bf9128a001ad3957ffd856 (patch)
treebd54a57947055a6f17659e1af28708def8f2b126
parenta4c2986d2c8dbcac43cc7a8b49a3b03203372376 (diff)
call setApplicationDomain before KAboutData to make them translatedv16.12.3v16.12.2v16.12.1v16.12.0v16.11.90Applications/16.12
-rw-r--r--kcolorchooser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kcolorchooser.cpp b/kcolorchooser.cpp
index 408aab1..b7aebd2 100644
--- a/kcolorchooser.cpp
+++ b/kcolorchooser.cpp
@@ -46,7 +46,7 @@ static const char version[] = "v2.0.0";
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
-
+ KLocalizedString::setApplicationDomain("kcolorchooser");
KAboutData aboutData("kcolorchooser", i18n("KColorChooser"),
version, i18n(description), KAboutLicense::BSDL,
i18n("(c) 2000, Waldo Bastian"));
@@ -54,7 +54,6 @@ int main(int argc, char *argv[])
aboutData.addAuthor(i18n("Hugo Parente Lima"),i18n("KF5 port"), "hugo.pl@gmail.com");
aboutData.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
aboutData.setProductName("kdelibs/kdeui");
- KLocalizedString::setApplicationDomain("kcolorchooser");
KAboutData::setApplicationData(aboutData);