Add -Wshadow and solve warnings
This commit is contained in:
@@ -64,8 +64,8 @@ void UtilitiesTabController::initStage1()
|
||||
void UtilitiesTabController::initStage2( OverlayController* var_parent,
|
||||
QQuickWindow* var_widget )
|
||||
{
|
||||
this->parent = var_parent;
|
||||
this->widget = var_widget;
|
||||
this->m_parent = var_parent;
|
||||
this->m_widget = var_widget;
|
||||
}
|
||||
|
||||
void UtilitiesTabController::sendKeyboardInput( QString input )
|
||||
@@ -467,7 +467,7 @@ void UtilitiesTabController::eventLoopTick()
|
||||
}
|
||||
*/
|
||||
auto nError = vrnotification->CreateNotification(
|
||||
parent->overlayHandle(),
|
||||
m_parent->overlayHandle(),
|
||||
666,
|
||||
vr::EVRNotificationType_Transient,
|
||||
alarmMessageBuffer,
|
||||
|
||||
@@ -33,8 +33,8 @@ class UtilitiesTabController : public QObject
|
||||
setSteamDesktopOverlayWidth NOTIFY steamDesktopOverlayWidthChanged )
|
||||
|
||||
private:
|
||||
OverlayController* parent;
|
||||
QQuickWindow* widget;
|
||||
OverlayController* m_parent;
|
||||
QQuickWindow* m_widget;
|
||||
|
||||
unsigned settingsUpdateCounter = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user