From df96ea50565798d957a0977d669a78e323e61ac1 Mon Sep 17 00:00:00 2001 From: Florian OMNES Date: Mon, 1 Jul 2024 09:38:36 +0200 Subject: [PATCH] Revert --- src/ui/common/dispatcher/gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/common/dispatcher/gui.cpp b/src/ui/common/dispatcher/gui.cpp index b1691fd0d9..cb134fe113 100644 --- a/src/ui/common/dispatcher/gui.cpp +++ b/src/ui/common/dispatcher/gui.cpp @@ -269,7 +269,7 @@ 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)); } @@ -277,7 +277,7 @@ void Close(wxWindow* 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); @@ -286,7 +286,7 @@ 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)); } @@ -294,7 +294,7 @@ void Destroy(wxWindow* 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));