From: stv Date: Fri, 16 Dec 2005 08:19:54 +0000 (+0000) Subject: Parent object parameter added to constructor. X-Git-Tag: TG-D5-38-2003_D2005-20-12~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=302140a5d35b2c1a065f0a10b6e279ce3fa72554;p=modules%2Fgui.git Parent object parameter added to constructor. --- diff --git a/src/SUIT/SUIT_SelectionMgr.cxx b/src/SUIT/SUIT_SelectionMgr.cxx index 13b847baa..edd1ee591 100755 --- a/src/SUIT/SUIT_SelectionMgr.cxx +++ b/src/SUIT/SUIT_SelectionMgr.cxx @@ -23,8 +23,9 @@ */ /*!constructor. initialize myIterations and myIsSelChangeEnabled.*/ -SUIT_SelectionMgr::SUIT_SelectionMgr( const bool Feedback ) -: myIterations( Feedback ? 1 : 0 ), +SUIT_SelectionMgr::SUIT_SelectionMgr( const bool Feedback, QObject* p ) +: QObject( p ), +myIterations( Feedback ? 1 : 0 ), myIsSelChangeEnabled( true ) { } diff --git a/src/SUIT/SUIT_SelectionMgr.h b/src/SUIT/SUIT_SelectionMgr.h index e928aa1eb..280519297 100755 --- a/src/SUIT/SUIT_SelectionMgr.h +++ b/src/SUIT/SUIT_SelectionMgr.h @@ -32,7 +32,7 @@ class SUIT_EXPORT SUIT_SelectionMgr : public QObject Q_OBJECT public: - SUIT_SelectionMgr( const bool = true ); + SUIT_SelectionMgr( const bool = true, QObject* = 0 ); virtual ~SUIT_SelectionMgr(); void clearSelected();