From c9714052b6b15fc6abf79abec13b6b9122fdb7da Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 28 Mar 2008 11:24:53 +0000 Subject: [PATCH 1/1] Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer because corresponding string is missing in the pop-up menu --- src/GEOMGUI/GEOMGUI_Selection.cxx | 4 ++-- src/GEOMGUI/GEOMGUI_Selection.h | 2 +- src/GEOMGUI/GeometryGUI.cxx | 4 ++-- src/GEOMGUI/GeometryGUI.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/GEOMGUI/GEOMGUI_Selection.cxx b/src/GEOMGUI/GEOMGUI_Selection.cxx index 268ef0124..af266c298 100644 --- a/src/GEOMGUI/GEOMGUI_Selection.cxx +++ b/src/GEOMGUI/GEOMGUI_Selection.cxx @@ -54,8 +54,8 @@ // VTK Includes #include -GEOMGUI_Selection::GEOMGUI_Selection( const QString& client, LightApp_SelectionMgr* mgr ) -: LightApp_Selection( client, mgr ) +GEOMGUI_Selection::GEOMGUI_Selection() +: LightApp_Selection() { } diff --git a/src/GEOMGUI/GEOMGUI_Selection.h b/src/GEOMGUI/GEOMGUI_Selection.h index 7ab55713d..5d470195c 100644 --- a/src/GEOMGUI/GEOMGUI_Selection.h +++ b/src/GEOMGUI/GEOMGUI_Selection.h @@ -36,7 +36,7 @@ class LightApp_SelectionMgr; class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection { public: - GEOMGUI_Selection( const QString&, LightApp_SelectionMgr* ); + GEOMGUI_Selection(); virtual ~GEOMGUI_Selection(); virtual QVariant parameter( const int, const QString& ) const; diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 2058d7a2e..257eb0e36 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1378,9 +1378,9 @@ QString GeometryGUI::engineIOR() const return ""; } -LightApp_Selection* GeometryGUI::createSelection( const QString& client, LightApp_SelectionMgr* mgr ) const +LightApp_Selection* GeometryGUI::createSelection() const { - return new GEOMGUI_Selection( client, mgr ); + return new GEOMGUI_Selection(); } void GeometryGUI::contextMenuPopup( const QString& client, QMenu* menu, QString& title ) diff --git a/src/GEOMGUI/GeometryGUI.h b/src/GEOMGUI/GeometryGUI.h index 54884333c..7477ac600 100644 --- a/src/GEOMGUI/GeometryGUI.h +++ b/src/GEOMGUI/GeometryGUI.h @@ -141,7 +141,7 @@ signals : void SignalDefaultStepValueChanged( double newVal ); protected: - virtual LightApp_Selection* createSelection( const QString&, LightApp_SelectionMgr* ) const; + virtual LightApp_Selection* createSelection() const; private: GEOMGUI* getLibrary( const QString& libraryName ); -- 2.30.2