From: smh Date: Thu, 22 Apr 2004 13:17:44 +0000 (+0000) Subject: Implementation of inheritance from base class SALOMEGUI X-Git-Tag: Merge_300404~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=854a45a88bdd4d24d17610174a3620936cd180cf;p=modules%2Fvisu.git Implementation of inheritance from base class SALOMEGUI --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index b153434f..c1d55941 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -357,8 +357,9 @@ void RepaintCurrentView(){ } -VisuGUI::VisuGUI( const QString& theName, QObject* theParent ) -: SALOMEGUI( theName, theParent ) { +VisuGUI::VisuGUI( const QString& theName, QObject* theParent ): + SALOMEGUI( theName, theParent ) +{ mySelectionDlg = 0; } diff --git a/src/VISUGUI/VisuGUI.h b/src/VISUGUI/VisuGUI.h index ce4db226..9bed10f8 100644 --- a/src/VISUGUI/VisuGUI.h +++ b/src/VISUGUI/VisuGUI.h @@ -83,7 +83,7 @@ namespace VISU{ class VisuGUI : public SALOMEGUI{ Q_OBJECT; public: - VisuGUI( const QString&, QObject* = 0 ); + VisuGUI( const QString& name = "", QObject* parent = 0 ); virtual ~VisuGUI(); static VISU::VISU_Gen_i* GetVisuGen();