From: ouv Date: Fri, 28 Mar 2008 11:22:11 +0000 (+0000) Subject: Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer... X-Git-Tag: V5_0_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4ee15d078769bd305ad9a3ad32b26123a60b0089;p=modules%2Fvisu.git Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer because corresponding string is missing in the pop-up menu --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 7065861f..91473f3a 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2966,9 +2966,9 @@ VisuGUI LightApp_Selection* VisuGUI -::createSelection( const QString& client, LightApp_SelectionMgr* mgr ) const +::createSelection() const { - return new VisuGUI_Selection( (SalomeApp_Module*)this, client, mgr ); + return new VisuGUI_Selection( (SalomeApp_Module*)this ); } //****************************************************************** diff --git a/src/VISUGUI/VisuGUI.h b/src/VISUGUI/VisuGUI.h index 68371524..536a45a3 100644 --- a/src/VISUGUI/VisuGUI.h +++ b/src/VISUGUI/VisuGUI.h @@ -177,7 +177,7 @@ protected slots: void OnMultiprChangeRes(VISU::Result::Resolution theResolution); protected: - virtual LightApp_Selection* createSelection( const QString&, LightApp_SelectionMgr* ) const; + virtual LightApp_Selection* createSelection() const; void OnTimeAnimation(VISU::Animation::AnimationMode theMode); diff --git a/src/VISUGUI/VisuGUI_PopupTools.h b/src/VISUGUI/VisuGUI_PopupTools.h index 35786cf6..8ab909ad 100644 --- a/src/VISUGUI/VisuGUI_PopupTools.h +++ b/src/VISUGUI/VisuGUI_PopupTools.h @@ -40,8 +40,8 @@ class SalomeApp_Study; class VisuGUI_Selection : public LightApp_Selection { public: - VisuGUI_Selection( SalomeApp_Module* theModule, const QString& client, LightApp_SelectionMgr* mgr) - : LightApp_Selection( client, mgr ), myModule( theModule ) {}; + VisuGUI_Selection( SalomeApp_Module* theModule ) + : LightApp_Selection(), myModule( theModule ) {}; virtual ~VisuGUI_Selection() {}; virtual QVariant parameter( const int, const QString& ) const;