From: akl Date: Fri, 31 May 2013 12:14:45 +0000 (+0000) Subject: Fix of 0022210: [CEA 816] The keyboard shortcut "ctrl + space" to get a filter does... X-Git-Tag: V7_3_0a1~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=194119f8de4a74d655c696de67a77c88048ac4f9;p=modules%2Fparavis.git Fix of 0022210: [CEA 816] The keyboard shortcut "ctrl + space" to get a filter does not work in Paravis. --- 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())); - } /*!