From 194119f8de4a74d655c696de67a77c88048ac4f9 Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 31 May 2013 12:14:45 +0000 Subject: [PATCH] Fix of 0022210: [CEA 816] The keyboard shortcut "ctrl + space" to get a filter does not work in Paravis. --- src/PVGUI/PVGUI_Module.cxx | 4 ---- src/PVGUI/PVGUI_Module_widgets.cxx | 7 ------- 2 files changed, 11 deletions(-) diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index 88c42bae..70b4b50f 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -464,10 +464,6 @@ void PVGUI_Module::initialize( CAM_Application* app ) QShortcut *ctrlSpace = new QShortcut(Qt::CTRL + Qt::Key_Space, aDesktop); QObject::connect(ctrlSpace, SIGNAL(activated()), pqApplicationCore::instance(), SLOT(quickLaunch())); - QShortcut *altSpace = new QShortcut(Qt::ALT + Qt::Key_Space, aDesktop); - QObject::connect(altSpace, SIGNAL(activated()), - pqApplicationCore::instance(), SLOT(quickLaunch())); - // End pqParaViewBehaviors // Find Plugin Dock Widgets QList currentDocks = aDesktop->findChildren(); diff --git a/src/PVGUI/PVGUI_Module_widgets.cxx b/src/PVGUI/PVGUI_Module_widgets.cxx index 8f0601e6..7bbeb1b5 100644 --- a/src/PVGUI/PVGUI_Module_widgets.cxx +++ b/src/PVGUI/PVGUI_Module_widgets.cxx @@ -283,13 +283,6 @@ void PVGUI_Module::setupDockWidgets() selectionInspectorDock->hide(); collaborationPanelDock->hide(); memoryInspectorDock->hide(); - - // Setup quick-launch shortcuts. - QShortcut *ctrlSpace = new QShortcut(Qt::CTRL + Qt::Key_Space, desk); - QObject::connect(ctrlSpace, SIGNAL(activated()), pqApplicationCore::instance(), SLOT(quickLaunch())); - QShortcut *altSpace = new QShortcut(Qt::ALT + Qt::Key_Space, desk); - QObject::connect(altSpace, SIGNAL(activated()), pqApplicationCore::instance(), SLOT(quickLaunch())); - } /*! -- 2.39.2