summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-05 18:29:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-05 18:29:07 +0300
commit71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch)
tree3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/gui/windows/shortcutwindow.cpp
parent45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff)
downloadmanaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz
manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2
manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz
manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index d84a01e05..85fb2e2ff 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -49,7 +49,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
ShortcutContainer *restrict const content,
const std::string &restrict skinFile,
int width, int height) :
- Window("Window", false, nullptr, skinFile),
+ Window("Window", Modal_false, nullptr, skinFile),
mItems(content),
mScrollArea(new ScrollArea(this, mItems, false)),
mTabs(nullptr),
@@ -105,7 +105,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
ShortcutWindow::ShortcutWindow(const std::string &restrict title,
const std::string &restrict skinFile,
const int width, const int height) :
- Window("Window", false, nullptr, skinFile),
+ Window("Window", Modal_false, nullptr, skinFile),
mItems(nullptr),
mScrollArea(nullptr),
mTabs(new TabbedArea(this)),