Skip to content

Commit

Permalink
Update HyperHdrManager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev committed Mar 9, 2024
1 parent 9b2ad77 commit 0fc542c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/base/HyperHdrManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void HyperHdrManager::hibernate(bool wakeUp, hyperhdr::SystemComponent source)
if (_hasEffect)
{
if (wakeUp)
QTimer::singleShot(3000, [this, wakeUp]() { toggleGrabbersAllInstances(wakeUp); });
QTimer::singleShot(3000, this, [this, wakeUp]() { toggleGrabbersAllInstances(wakeUp); });
else
toggleGrabbersAllInstances(wakeUp);

Expand All @@ -213,7 +213,7 @@ void HyperHdrManager::hibernate(bool wakeUp, hyperhdr::SystemComponent source)
else
{
Warning(_log, "The system is going to wake up");
QTimer::singleShot(3000, [this]() { toggleStateAllInstances(true); });
QTimer::singleShot(3000, this, [this]() { toggleStateAllInstances(true); });
}
}

Expand Down

0 comments on commit 0fc542c

Please sign in to comment.