From 79e0009422919a1ae02536121bdeefcc1f987d48 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Thu, 25 Feb 2021 21:03:27 +0300 Subject: [PATCH] Don't warn if ui callback was posted without loop --- libs/ui/source/element.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ui/source/element.cpp b/libs/ui/source/element.cpp index 73e11558..fa5c0933 100644 --- a/libs/ui/source/element.cpp +++ b/libs/ui/source/element.cpp @@ -41,8 +41,6 @@ namespace psemek::ui auto l = root()->loop(); if (l) l->post(std::move(f)); - else - log::warning() << "posting ui event while not attached to event loop"; } void element::post_reshape()