Remove widget pointer from MoveCenterTabController

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 0c6ed9a68d
commit 1975192bb1
3 changed files with 3 additions and 6 deletions
@@ -159,11 +159,9 @@ void MoveCenterTabController::initStage1()
m_lastGravityUpdateTimePoint = std::chrono::steady_clock::now();
}
void MoveCenterTabController::initStage2( OverlayController* var_parent,
QQuickWindow* var_widget )
void MoveCenterTabController::initStage2( OverlayController* var_parent )
{
this->parent = var_parent;
this->widget = var_widget;
zeroOffsets();
outputLogSettings();
}