From 854a45a88bdd4d24d17610174a3620936cd180cf Mon Sep 17 00:00:00 2001 From: smh Date: Thu, 22 Apr 2004 13:17:44 +0000 Subject: [PATCH] Implementation of inheritance from base class SALOMEGUI --- src/VISUGUI/VisuGUI.cxx | 5 +++-- src/VISUGUI/VisuGUI.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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(); -- 2.39.2