diff options
| author | Peter Penz <[email protected]> | 2010-09-20 19:52:40 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-09-20 19:52:40 +0000 |
| commit | c7e8c4af3dbcec9973a161c319fcd63fd1086f23 (patch) | |
| tree | ab9b3374638b1be7352b9329b9ca0329f43d9710 /src/dolphinmainwindow.cpp | |
| parent | 4822c2cc3bcdc70d73bb76dd627b04312d463265 (diff) | |
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: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=1177658
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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()); |
