diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 17:42:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 18:56:15 +0300 |
commit | d9994f114b1febf4c075d77c0fb3e7a44e510e20 (patch) | |
tree | 00eeae0b23ab620363dedcce448af25325b1381f /src/gui/statuswindow.cpp | |
parent | d65f51b41a9d84c501bb25bc3849ffd8446fb2e6 (diff) | |
download | manaplus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.gz manaplus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.bz2 manaplus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.xz manaplus-d9994f114b1febf4c075d77c0fb3e7a44e510e20.zip |
Fix code style and some minor issues.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 1fb6d7836..691333703 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -33,7 +33,6 @@ #include "gui/equipmentwindow.h" #include "gui/setup.h" -#include "gui/theme.h" #include "gui/viewport.h" #include "gui/widgets/label.h" @@ -142,7 +141,7 @@ StatusWindow::StatusWindow() : mJobLvlLabel(nullptr), mJobLabel(nullptr), mJobBar(nullptr), - mAttrCont(new VertContainer(this,32)), + mAttrCont(new VertContainer(this, 32)), mAttrScroll(new ScrollArea(mAttrCont, false)), mDAttrCont(new VertContainer(this, 32)), mDAttrScroll(new ScrollArea(mDAttrCont, false)), @@ -786,10 +785,9 @@ std::string AttrDisplay::update() } DerDisplay::DerDisplay(const Widget2 *const widget, - const int id, const std::string &name) : + const int id, const std::string &name) : AttrDisplay(widget, id, name) { -// LayoutHelper h(this); ContainerPlacer place = mLayout->getPlacer(0, 0); place(0, 0, mLabel, 3); |