From 8cac9b90f3e25b2dfb848684fdec8b9c076da28a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 Jun 2017 20:22:00 +0300 Subject: Report error about windows without postinit call in debug chat tab. --- src/gui/widgets/window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 4a3103b99..874a0ae14 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -95,6 +95,7 @@ #include "render/vertexes/imagecollection.h" +#include "utils/checkutils.h" #include "utils/delete2.h" #include "debug.h" @@ -278,8 +279,8 @@ Window::~Window() } if (!mInit) { - logger->log("error: Window created without calling postInit(): " - + mWindowName); + reportAlways("error: Window created without calling postInit(): %s", + mWindowName.c_str()); } } -- cgit v1.2.3-70-g09d2