diff --git a/src/overlaycontroller.cpp b/src/overlaycontroller.cpp index 7958e9c..57a0bf4 100644 --- a/src/overlaycontroller.cpp +++ b/src/overlaycontroller.cpp @@ -490,7 +490,7 @@ void OverlayController::SetWidget( QQuickItem* quickItem, m_audioTabController.initStage2(); m_statisticsTabController.initStage2( this ); m_settingsTabController.initStage2( this ); - m_reviveTabController.initStage2( this, m_pWindow.get() ); + m_reviveTabController.initStage2( this ); m_utilitiesTabController.initStage2( this, m_pWindow.get() ); m_videoTabController.initStage2( this, m_pWindow.get() ); m_moveCenterTabController.initStage2( this, m_pWindow.get() ); diff --git a/src/tabcontrollers/ReviveTabController.cpp b/src/tabcontrollers/ReviveTabController.cpp index 8c8e5ae..8683ead 100644 --- a/src/tabcontrollers/ReviveTabController.cpp +++ b/src/tabcontrollers/ReviveTabController.cpp @@ -297,11 +297,9 @@ void ReviveTabController::initStage1( bool forceRevivePage ) } } -void ReviveTabController::initStage2( OverlayController* var_parent, - QQuickWindow* var_widget ) +void ReviveTabController::initStage2( OverlayController* var_parent ) { this->parent = var_parent; - this->widget = var_widget; } void ReviveTabController::eventLoopTick() diff --git a/src/tabcontrollers/ReviveTabController.h b/src/tabcontrollers/ReviveTabController.h index 0530e84..0cf1a7e 100644 --- a/src/tabcontrollers/ReviveTabController.h +++ b/src/tabcontrollers/ReviveTabController.h @@ -70,7 +70,6 @@ class ReviveTabController : public QObject private: OverlayController* parent; - QQuickWindow* widget; bool m_isOverlayInstalled = false; int m_gripButtonMode = 0; @@ -98,7 +97,7 @@ private: public: void initStage1( bool forceRevivePage ); - void initStage2( OverlayController* parent, QQuickWindow* widget ); + void initStage2( OverlayController* parent ); void eventLoopTick();