diff options
Diffstat (limited to 'src/gui/windows/eggselectiondialog.cpp')
-rw-r--r-- | src/gui/windows/eggselectiondialog.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/windows/eggselectiondialog.cpp b/src/gui/windows/eggselectiondialog.cpp index b4149b6b3..0f3ad1c0b 100644 --- a/src/gui/windows/eggselectiondialog.cpp +++ b/src/gui/windows/eggselectiondialog.cpp @@ -23,24 +23,11 @@ #include "gui/windows/eggselectiondialog.h" #include "shopitem.h" -#include "units.h" - -#include "being/playerinfo.h" - -#include "gui/windows/confirmdialog.h" -#include "gui/windows/setupwindow.h" -#include "gui/windows/tradewindow.h" #include "gui/models/shopitems.h" #include "gui/widgets/button.h" -#include "gui/widgets/containerplacer.h" -#include "gui/widgets/label.h" -#include "gui/widgets/layout.h" -#include "gui/widgets/layouttype.h" -#include "gui/widgets/scrollarea.h" #include "gui/widgets/shoplistbox.h" -#include "gui/widgets/slider.h" #include "net/inventoryhandler.h" @@ -72,7 +59,7 @@ void EggSelectionDialog::sellAction(const ActionEvent &event A_UNUSED) return; const int selectedItem = mShopItemList->getSelected(); - ShopItem *const item = mShopItems->at(selectedItem); + const ShopItem *const item = mShopItems->at(selectedItem); if (!item) return; inventoryHandler->selectEgg(item); |