diff options
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 4cc02794c..676e7bfc2 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -46,6 +46,7 @@ #include "gui/widgets/windowcontainer.h" #include "gui/widgets/attrs/attrdisplay.h" +#include "gui/widgets/attrs/derdisplay.h" #include "net/inventoryhandler.h" #include "net/playerhandler.h" @@ -714,18 +715,6 @@ void StatusWindow::action(const ActionEvent &event) } } -DerDisplay::DerDisplay(const Widget2 *const widget, - const AttributesT id, - const std::string &restrict name, - const std::string &restrict shortName) : - AttrDisplay(widget, id, name, shortName) -{ - ContainerPlacer place = mLayout->getPlacer(0, 0); - - place(0, 0, mLabel, 3); - place(3, 0, mValue, 2); -} - ChangeDisplay::ChangeDisplay(const Widget2 *const widget, const AttributesT id, const std::string &restrict name, |