Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jul 1, 2024
1 parent 151a00e commit df96ea5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/common/dispatcher/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,15 @@ class JobTimerDestroy final : public Yuni::Job::IJob
void Close(wxWindow* window)
{
if (!window)
logs.debug() << "Impossible to close a nullptr top level window";
logs.debug() << "Impossible to close a NULL top level window";
else
::Antares::Dispatcher::GUI::Post((const Yuni::Job::IJob::Ptr&)new JobWindowClose(window));
}

void Close(wxWindow* window, uint delay)
{
if (!window)
logs.debug() << "Impossible to close a nullptr top level window";
logs.debug() << "Impossible to close a NULL top level window";
else
::Antares::Dispatcher::GUI::Post((const Yuni::Job::IJob::Ptr&)new JobWindowClose(window),
delay);
Expand All @@ -286,15 +286,15 @@ void Close(wxWindow* window, uint delay)
void Destroy(wxWindow* window)
{
if (!window)
logs.debug() << "Impossible to destroy a nullptr top level window";
logs.debug() << "Impossible to destroy a NULL top level window";
else
::Antares::Dispatcher::GUI::Post((const Yuni::Job::IJob::Ptr&)new JobWindowDestroy(window));
}

void Destroy(wxTimer* timer)
{
if (!timer)
logs.debug() << "Impossible to destroy a nullptr timer";
logs.debug() << "Impossible to destroy a NULL timer";
else
{
::Antares::Dispatcher::GUI::Post((const Yuni::Job::IJob::Ptr&)new JobTimerDestroy(timer));
Expand Down

0 comments on commit df96ea5

Please sign in to comment.