┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2015-11-29 19:19:33 +0100
committerAlbert Astals Cid <[email protected]>2015-11-29 19:19:33 +0100
commitd00b531c74d509a03389485b116cda59162c73ea (patch)
treea3cdde3998835b1eb18a2b55a38dfbd27c82dedc /src/dolphinmainwindow.cpp
parent581ee6d0c85bfd18ef39b68ffbea2fb8c8bdf607 (diff)
Call KLocalizedString::setApplicationDomain("dolphin");
dolphin is using -DTRANSLATION_DOMAIN=\"dolphin\" that is wrong for applications, apps need to use KLocalizedString::setApplicationDomain since that makes some other things like the transltators tab in the about dialog show. I have not removed -DTRANSLATION_DOMAIN=\"dolphin\" because on the other hand this code is also a library (i.e. the dolphin kpart). The "being pedandly correct" fix would be using -DTRANSLATION_DOMAIN=\"dolphin\" only to compile the files that are part of the kpart but that's prone to break at some point and using both KLocalizedString::setApplicationDomain and -DTRANSLATION_DOMAIN does not create any problem so i went that route CCMAIL: [email protected]
Diffstat (limited to 'src/dolphinmainwindow.cpp')
0 files changed, 0 insertions, 0 deletions