summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-13 20:22:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-13 20:22:00 +0300
commit8cac9b90f3e25b2dfb848684fdec8b9c076da28a (patch)
tree081f749c33083747182da3098baa02b05d264325 /src/gui/widgets
parent38873bb99dea8a8089f1056bc1b28a59ed1f83d3 (diff)
downloadmanaverse-8cac9b90f3e25b2dfb848684fdec8b9c076da28a.tar.gz
manaverse-8cac9b90f3e25b2dfb848684fdec8b9c076da28a.tar.bz2
manaverse-8cac9b90f3e25b2dfb848684fdec8b9c076da28a.tar.xz
manaverse-8cac9b90f3e25b2dfb848684fdec8b9c076da28a.zip
Report error about windows without postinit call in debug chat tab.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/window.cpp5
1 files changed, 3 insertions, 2 deletions
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());
}
}