summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <peter.penz19@gmail.com>2012-03-19 14:30:19 (GMT)
committerPeter Penz <peter.penz19@gmail.com>2012-03-19 14:32:35 (GMT)
commit44482f8b66e7e3925f68936d811df0d644f5bc3c (patch)
treec485277e065e93a1549a3481a984762fccac13b5
parentb84eff411995e7ceca1485c0eb1f98e90c203012 (diff)
Fix translation issue in context-menu
Thanks to Alexander Potashev for the patch! BUG: 290620 FIXED-IN: 4.8.2
-rw-r--r--dolphin/src/dolphinapplication.cpp2
-rw-r--r--dolphin/src/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/dolphin/src/dolphinapplication.cpp b/dolphin/src/dolphinapplication.cpp
index 1abe8aa..0cd51a4 100644
--- a/dolphin/src/dolphinapplication.cpp
+++ b/dolphin/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/dolphin/src/main.cpp b/dolphin/src/main.cpp
index d55b5e7..9ef61f1 100644
--- a/dolphin/src/main.cpp
+++ b/dolphin/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();
}