Commit f266b758 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Set app translation domain before first i18n call

Call here done inside of QApplication subclass constructor code,
so setup has to be done there as well.

Fixes error about empty domain with "Documentation to open"
parent 92433ef0
......@@ -27,6 +27,8 @@ Application::Application(int& argc, char** argv)
mCmdParser.addPositionalArgument( QStringLiteral("url"), i18n( "Documentation to open" ) );
// allow redirecting from internal pages to known protocols
......@@ -110,7 +112,6 @@ void Application::open(const QList<QUrl>& urls)
int main( int argc, char **argv )
KHC::Application app(argc, argv);
KAboutData aboutData( QStringLiteral("khelpcenter"), i18n("Help Center"),
i18n("Help Center"),
Supports Markdown
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