summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.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/buydialog.cpp
parent45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff)
downloadmanaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz
manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2
manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz
manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index 540baffa8..cb10adaf6 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -172,7 +172,7 @@ BuyDialog::DialogList BuyDialog::instances;
BuyDialog::BuyDialog() :
// TRANSLATORS: buy dialog name
- Window(_("Create items"), false, nullptr, "buy.xml"),
+ Window(_("Create items"), Modal_false, nullptr, "buy.xml"),
ActionListener(),
SelectionListener(),
mSortModel(nullptr),
@@ -190,7 +190,7 @@ BuyDialog::BuyDialog() :
BuyDialog::BuyDialog(const int npcId) :
// TRANSLATORS: buy dialog name
- Window(_("Buy"), false, nullptr, "buy.xml"),
+ Window(_("Buy"), Modal_false, nullptr, "buy.xml"),
ActionListener(),
SelectionListener(),
mSortModel(nullptr),
@@ -208,7 +208,7 @@ BuyDialog::BuyDialog(const int npcId) :
BuyDialog::BuyDialog(std::string nick) :
// TRANSLATORS: buy dialog name
- Window(_("Buy"), false, nullptr, "buy.xml"),
+ Window(_("Buy"), Modal_false, nullptr, "buy.xml"),
ActionListener(),
SelectionListener(),
mSortModel(new SortListModelBuy),