Commit 4f28476d authored by Alexander Potashev's avatar Alexander Potashev Committed by Nate Graham
Browse files

Make the user-visible strings defined in KAboutData translatable again.

CCMAIL: nicolas.fella@gmx.de
BUG: 426742


(cherry picked from commit 14f9c104)
parent 7967ed63
......@@ -79,6 +79,9 @@ int main( int argc, char *argv[] )
QApplication application(argc, argv);
application.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
// The ki18n application domain must be set before we make any i18n() calls.
KLocalizedString::setApplicationDomain(binaryName.toUtf8().constData());
KAboutData aboutData;
if (mode == BaseMode::InfoCenter) {
......@@ -166,7 +169,6 @@ int main( int argc, char *argv[] )
KWorkSpace::detectPlatform(argc, argv);
KQuickAddons::QtQuickSettings::init();
KCrash::initialize();
KLocalizedString::setApplicationDomain(binaryName.toUtf8().constData());
SettingsBase *mainWindow = new SettingsBase(mode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment