diff options
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index adf1188e4..159a06d19 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -151,10 +151,11 @@ class SortItemTypeFunctor final } } itemTypeSorter; -ItemContainer::ItemContainer(Inventory *const inventory, +ItemContainer::ItemContainer(const Widget2 *const widget, + Inventory *const inventory, const bool forceQuantity) : gcn::Widget(), - Widget2(), + Widget2(widget), gcn::KeyListener(), gcn::MouseListener(), gcn::WidgetListener(), |