From c7e8c4af3dbcec9973a161c319fcd63fd1086f23 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 20 Sep 2010 19:52:40 +0000 Subject: Workaround for a X11-issue in combination with KModifierKeyInfo: When constructing KModifierKeyInfo in the constructor of the context menu, the user interface might freeze. Thanks to Mark Gaiser for clarifying this with the KModifierKeyInfo maintainer and testing the workaround! CCMAIL: markg85@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=1177658 --- src/dolphinmainwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 722a90f93..e72c52bfc 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -116,6 +116,11 @@ DolphinMainWindow::DolphinMainWindow(int id) : m_settingsDialog(0), m_lastHandleUrlStatJob(0) { + // Workaround for a X11-issue in combination with KModifierInfo + // (see DolphinContextMenu::initializeModifierKeyInfo() for + // more information): + DolphinContextMenu::initializeModifierKeyInfo(); + setObjectName("Dolphin#"); m_viewTab.append(ViewTab()); -- cgit v1.3