summaryrefslogtreecommitdiff
path: root/src/gui/widgets/statspagebasic.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-27 02:46:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-27 02:46:01 +0300
commitca2f3487d787f1d594143aad9bd8cafe14385e7e (patch)
tree04071983315c8b47d6538fad0e04ece6c510e24c /src/gui/widgets/statspagebasic.cpp
parent5abb097ac4c4c0220c7e165008b944cb618bae45 (diff)
downloadmv-ca2f3487d787f1d594143aad9bd8cafe14385e7e.tar.gz
mv-ca2f3487d787f1d594143aad9bd8cafe14385e7e.tar.bz2
mv-ca2f3487d787f1d594143aad9bd8cafe14385e7e.tar.xz
mv-ca2f3487d787f1d594143aad9bd8cafe14385e7e.zip
Fix some style issues in statspages.
Diffstat (limited to 'src/gui/widgets/statspagebasic.cpp')
-rw-r--r--src/gui/widgets/statspagebasic.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/statspagebasic.cpp b/src/gui/widgets/statspagebasic.cpp
index 5732afd29..68e8e656d 100644
--- a/src/gui/widgets/statspagebasic.cpp
+++ b/src/gui/widgets/statspagebasic.cpp
@@ -57,7 +57,10 @@ StatsPageBasic::StatsPageBasic(const Widget2 *const widget) :
FOR_EACH (std::vector<BasicStat>::const_iterator, it, basicStats)
{
const BasicStat &stat = *it;
- AttrDisplay *disp = new ChangeDisplay(this, stat.attr, stat.name, stat.tag);
+ AttrDisplay *disp = new ChangeDisplay(this,
+ stat.attr,
+ stat.name,
+ stat.tag);
disp->update();
mAttrCont->add2(disp, true);
mAttrs[stat.attr] = disp;