From 302140a5d35b2c1a065f0a10b6e279ce3fa72554 Mon Sep 17 00:00:00 2001 From: stv Date: Fri, 16 Dec 2005 08:19:54 +0000 Subject: [PATCH] Parent object parameter added to constructor. --- src/SUIT/SUIT_SelectionMgr.cxx | 5 +++-- src/SUIT/SUIT_SelectionMgr.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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(); -- 2.39.2