From: Peter Penz Date: Mon, 19 Mar 2012 14:30:19 +0000 (+0100) Subject: Fix translation issue in context-menu X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/476128f01aba48f6519ead627d39175443f59758 Fix translation issue in context-menu Thanks to Alexander Potashev for the patch! BUG: 290620 FIXED-IN: 4.8.2 --- diff --git a/src/dolphinapplication.cpp b/src/dolphinapplication.cpp index 1abe8aa6e..0cd51a454 100644 --- a/src/dolphinapplication.cpp +++ b/src/dolphinapplication.cpp @@ -30,6 +30,8 @@ DolphinApplication::DolphinApplication() : m_mainWindow(0) { + KGlobal::locale()->insertCatalog("libkonq"); // Needed for applications using libkonq + m_mainWindow = new DolphinMainWindow(); m_mainWindow->setAttribute(Qt::WA_DeleteOnClose); m_mainWindow->show(); diff --git a/src/main.cpp b/src/main.cpp index 631897337..c07802437 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,8 +83,6 @@ KDE_EXPORT int kdemain(int argc, char **argv) KCmdLineArgs::addCmdLineOptions(options); DolphinApplication app; - KGlobal::locale()->insertCatalog("libkonq"); // needed for applications using libkonq - if (app.isSessionRestored()) { app.restoreSession(); }