summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 12:06:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commitc3ed7ea0a8c1d661bb2b31f5458b8357eab650a3 (patch)
tree18b2e232d7bbe3fb8ad9c258d9a012a8d35f1473 /src/gui/windows
parentf7458be2a303178017cc99017eafc649c50a0efc (diff)
downloadmv-c3ed7ea0a8c1d661bb2b31f5458b8357eab650a3.tar.gz
mv-c3ed7ea0a8c1d661bb2b31f5458b8357eab650a3.tar.bz2
mv-c3ed7ea0a8c1d661bb2b31f5458b8357eab650a3.tar.xz
mv-c3ed7ea0a8c1d661bb2b31f5458b8357eab650a3.zip
fix const in declaration in statuswindow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/statuswindow.cpp2
-rw-r--r--src/gui/windows/statuswindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 80a65b1fd..0915429f9 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -126,7 +126,7 @@ class ChangeDisplay final : public AttrDisplay, gcn::ActionListener
Type getType() const override
{ return CHANGEABLE; }
- void setPointsNeeded(int needed);
+ void setPointsNeeded(const int needed);
void action(const gcn::ActionEvent &event) override;
diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h
index 5acccd9ff..8748e3feb 100644
--- a/src/gui/windows/statuswindow.h
+++ b/src/gui/windows/statuswindow.h
@@ -67,7 +67,7 @@ class StatusWindow final : public Window,
static void updateHPBar(ProgressBar *const bar,
const bool showMax = false);
- static void updateMPBar(ProgressBar *bar, bool showMax = false);
+ static void updateMPBar(ProgressBar *bar, const bool showMax = false);
static void updateJobBar(ProgressBar *const bar,
const bool percent = true);
static void updateXPBar(ProgressBar *const bar,