diff options
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 1795f2843..a14f960cd 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -104,8 +104,10 @@ class Window : public BasicContainer2, * a window will never go below its parent window. * @param skin The location where the window's skin XML can be found. */ - Window(const std::string &caption = "Window", const bool modal = false, - Window *const parent = nullptr, std::string skin = ""); + explicit Window(const std::string &caption = "Window", + const bool modal = false, + Window *const parent = nullptr, + std::string skin = ""); A_DELETE_COPY(Window) |