From: smh Date: Thu, 22 Apr 2004 13:16:46 +0000 (+0000) Subject: Implementation of inheritance from base class SALOMEGUI X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2c785f026e1c6759f6cdd3ad692471c93adfd737;p=modules%2Fkernel.git Implementation of inheritance from base class SALOMEGUI --- diff --git a/src/SALOMEGUI/SALOMEGUI.cxx b/src/SALOMEGUI/SALOMEGUI.cxx index d0abefe31..ba9f6a56e 100644 --- a/src/SALOMEGUI/SALOMEGUI.cxx +++ b/src/SALOMEGUI/SALOMEGUI.cxx @@ -135,6 +135,7 @@ void SALOMEGUI::DefinePopup( QString & theContext, QString & theParent, QString //============================================================================= bool SALOMEGUI::ActiveStudyChanged( QAD_Desktop* parent ) { + return true; } //============================================================================= diff --git a/src/SALOMEGUI/SALOMEGUI.h b/src/SALOMEGUI/SALOMEGUI.h index 124ceee0b..d823c6e41 100644 --- a/src/SALOMEGUI/SALOMEGUI.h +++ b/src/SALOMEGUI/SALOMEGUI.h @@ -51,7 +51,7 @@ class Standard_EXPORT SALOMEGUI : public QObject Q_OBJECT public: - SALOMEGUI( const QString& name, QObject* parent = 0 ); + SALOMEGUI( const QString& name = "", QObject* parent = 0 ); virtual ~SALOMEGUI(); virtual bool OnGUIEvent (int theCommandID, QAD_Desktop* parent);