diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-26 23:25:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-26 23:25:32 +0300 |
commit | 3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 (patch) | |
tree | d7f1400583c5bc6916129e05fc5e0907d1081ca9 /src/gui/windows/eggselectiondialog.cpp | |
parent | 6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff) | |
download | manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2 manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip |
Fix code style.
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); |