refactor: Get rid of this->m_

This commit is contained in:
WerWolv
2023-12-19 13:10:25 +01:00
parent dd4be3b772
commit c7ab4a4569
119 changed files with 2973 additions and 2973 deletions

View File

@@ -88,8 +88,8 @@ namespace hex::plugin::builtin {
// Request a restart if the setting requires it
if (widget->doesRequireRestart()) {
this->m_restartRequested = true;
this->m_triggerPopup = true;
m_restartRequested = true;
m_triggerPopup = true;
}
}
}
@@ -109,12 +109,12 @@ namespace hex::plugin::builtin {
void ViewSettings::drawAlwaysVisibleContent() {
// If a restart is required, ask the user if they want to restart
if (!this->getWindowOpenState() && this->m_triggerPopup) {
this->m_triggerPopup = false;
if (!this->getWindowOpenState() && m_triggerPopup) {
m_triggerPopup = false;
PopupQuestion::open("hex.builtin.view.settings.restart_question"_lang,
ImHexApi::System::restartImHex,
[this]{
this->m_restartRequested = false;
m_restartRequested = false;
}
);
}