From 9bea13f0a8c965fd70fb7af44cfb27770f5a31e2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Dec 2017 17:53:13 +0300 Subject: Show assert if any windows used without own skin file. --- src/gui/widgets/window.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 3fb6c458e..704b30834 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -177,7 +177,11 @@ Window::Window(const std::string &caption, setTitleBarHeight(20); if (skin.empty()) + { + reportAlways("Default skin was used for window: %s", + caption.c_str()); skin = "window.xml"; + } int childPalette = 1; // Loads the skin -- cgit v1.2.3-70-g09d2