Remove widget pointer from ChaperoneTabController

The pointer is not needed and is an anti pattern.
This commit is contained in:
Vasily
2019-07-20 21:24:03 +02:00
committed by username223
parent 5605b9b104
commit 6a3e22bdd6
3 changed files with 3 additions and 6 deletions
@@ -47,11 +47,9 @@ void ChaperoneTabController::initStage1()
eventLoopTick( nullptr, 0.0f, 0.0f, 0.0f );
}
void ChaperoneTabController::initStage2( OverlayController* var_parent,
QQuickWindow* var_widget )
void ChaperoneTabController::initStage2( OverlayController* var_parent )
{
this->parent = var_parent;
this->widget = var_widget;
}
ChaperoneTabController::~ChaperoneTabController()