diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-02 17:07:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-02 17:07:20 +0200 |
| commit | ce821294e21978cadf4c3facbeec421b245ea2c9 (patch) | |
| tree | aa90efb5251160cd1ed37fc9443f596f80f6dd96 /src/managers/DonationNagManager.cpp | |
| parent | 6f174a9e0892aab5c4c17a7da9be7f92bcdcebec (diff) | |
managers: refactor class member vars (#10242)
Diffstat (limited to 'src/managers/DonationNagManager.cpp')
| -rw-r--r-- | src/managers/DonationNagManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/managers/DonationNagManager.cpp b/src/managers/DonationNagManager.cpp index 454a02a0..249fbdcf 100644 --- a/src/managers/DonationNagManager.cpp +++ b/src/managers/DonationNagManager.cpp @@ -102,7 +102,7 @@ CDonationNagManager::CDonationNagManager() { break; } - if (!m_bFired) + if (!m_fired) Debug::log(LOG, "DonationNag: didn't hit any nagging periods, checking update"); if (state.major < currentMajor) { @@ -115,18 +115,18 @@ CDonationNagManager::CDonationNagManager() { writeState(state); } - if (!m_bFired) + if (!m_fired) Debug::log(LOG, "DonationNag: didn't hit nagging conditions"); } bool CDonationNagManager::fired() { - return m_bFired; + return m_fired; } void CDonationNagManager::fire() { static const auto DATAROOT = NFsUtils::getDataHome(); - m_bFired = true; + m_fired = true; g_pEventLoopManager->doLater([] { CProcess proc("hyprland-donate-screen", {}); |
