Remove widget and parent pointers from UtilitiesTabController
The pointers are not needed and are an anti pattern.
This commit is contained in:
@@ -29,7 +29,6 @@ class UtilitiesTabController : public QObject
|
||||
|
||||
private:
|
||||
OverlayController* m_parent;
|
||||
QQuickWindow* m_widget;
|
||||
|
||||
unsigned settingsUpdateCounter = 0;
|
||||
|
||||
@@ -45,7 +44,7 @@ private:
|
||||
|
||||
public:
|
||||
void initStage1();
|
||||
void initStage2( OverlayController* var_parent, QQuickWindow* var_widget );
|
||||
void initStage2( OverlayController* var_parent );
|
||||
|
||||
void eventLoopTick();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user