diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-06 01:09:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-06 01:09:47 +0300 |
commit | 7fa78a35307227453ab55c7452e348a40cd41d65 (patch) | |
tree | 1d3e16a94bed043877306f1c47b3992add85b3be /src/gui/windows/statuswindow.cpp | |
parent | a87db81b6b7551a248e31e2850577aefda092538 (diff) | |
download | plus-7fa78a35307227453ab55c7452e348a40cd41d65.tar.gz plus-7fa78a35307227453ab55c7452e348a40cd41d65.tar.bz2 plus-7fa78a35307227453ab55c7452e348a40cd41d65.tar.xz plus-7fa78a35307227453ab55c7452e348a40cd41d65.zip |
Add strong typed bool type Modifiable.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index aa62aae4c..198df1508 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -401,11 +401,11 @@ void StatusWindow::setPointsNeeded(const int id, const int needed) void StatusWindow::addAttribute(const int id, const std::string &restrict name, const std::string &restrict shortName, - const bool modifiable) + const Modifiable modifiable) { AttrDisplay *disp; - if (modifiable) + if (modifiable == Modifiable_true) { disp = new ChangeDisplay(this, id, name, shortName); disp->update(); |