From: akl Date: Thu, 3 Apr 2008 11:22:27 +0000 (+0000) Subject: Fix of IPAL19377 (Qt4 porting: no icons of components after opening or loading script). X-Git-Tag: V5_0_0~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dcd061fa360cf60d72c52956a2a40fb9f3e7cee2;p=modules%2Fgui.git Fix of IPAL19377 (Qt4 porting: no icons of components after opening or loading script). --- diff --git a/src/SalomeApp/SalomeApp_DataObject.cxx b/src/SalomeApp/SalomeApp_DataObject.cxx index 1c2926425..2b4fe2e21 100644 --- a/src/SalomeApp/SalomeApp_DataObject.cxx +++ b/src/SalomeApp/SalomeApp_DataObject.cxx @@ -545,7 +545,7 @@ QString SalomeApp_ModuleObject::name() const */ QPixmap SalomeApp_ModuleObject::icon( const int index ) const { - return CAM_ModuleObject::icon( index ); + return SalomeApp_DataObject::icon( index ); } /*! @@ -555,7 +555,7 @@ QPixmap SalomeApp_ModuleObject::icon( const int index ) const */ QString SalomeApp_ModuleObject::toolTip( const int index ) const { - return CAM_ModuleObject::toolTip( index ); + return SalomeApp_DataObject::toolTip( index ); } /*!