]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix of 0022210: [CEA 816] The keyboard shortcut "ctrl + space" to get a filter does...
authorakl <akl@opencascade.com>
Fri, 31 May 2013 12:14:45 +0000 (12:14 +0000)
committerakl <akl@opencascade.com>
Fri, 31 May 2013 12:14:45 +0000 (12:14 +0000)
src/PVGUI/PVGUI_Module.cxx
src/PVGUI/PVGUI_Module_widgets.cxx

index 88c42baea58ea7f5aa4797f8ff8307d5e394c335..70b4b50ff88ab98d5be3ef847c91067e57976f1b 100644 (file)
@@ -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<QDockWidget*> currentDocks = aDesktop->findChildren<QDockWidget*>();
index 8f0601e63245a2c26ac6d3a86a666088d7e81ff9..7bbeb1b592665996bb71962f8eb1c63b6eb7d6c2 100644 (file)
@@ -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()));
-
 }
 
 /*!