[GUI] - Fix leaking QObject
This commit is contained in:
@@ -370,7 +370,7 @@ class FilterStatusBar : public QObject
|
||||
// Q_OBJECT
|
||||
|
||||
public:
|
||||
FilterStatusBar(Action * action):QObject() {this->action = action;}
|
||||
FilterStatusBar(Action * action):QObject(action) {this->action = action;}
|
||||
// virtual ~FilterStatusBar() {}
|
||||
protected:
|
||||
Action * action;
|
||||
|
||||
@@ -42,7 +42,7 @@ SO_NODE_ABSTRACT_SOURCE(SoFCColorBarBase)
|
||||
/*!
|
||||
Constructor.
|
||||
*/
|
||||
SoFCColorBarBase::SoFCColorBarBase()
|
||||
SoFCColorBarBase::SoFCColorBarBase(): _windowSize(0,0)
|
||||
{
|
||||
SO_NODE_CONSTRUCTOR(SoFCColorBarBase);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user