summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-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());
}
}