From e0d14cf8d3c809a0a5291823d3a962a4835a8f6e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Aug 2015 00:25:50 +0300 Subject: Add some missing checks to gui found by paranucker. --- src/gui/widgets/selldialog.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/selldialog.h') diff --git a/src/gui/widgets/selldialog.h b/src/gui/widgets/selldialog.h index a9cb24870..dcc92cfd2 100644 --- a/src/gui/widgets/selldialog.h +++ b/src/gui/widgets/selldialog.h @@ -123,17 +123,17 @@ class SellDialog notfinal : public Window, virtual void initButtons() { } - Button *mSellButton; - Button *mQuitButton; + Button *mSellButton A_NONNULLPOINTER; + Button *mQuitButton A_NONNULLPOINTER; Button *mAddMaxButton; Button *mIncreaseButton; Button *mDecreaseButton; - ShopListBox *mShopItemList; - ScrollArea *mScrollArea; + ShopListBox *mShopItemList A_NONNULLPOINTER; + ScrollArea *mScrollArea A_NONNULLPOINTER; Label *mMoneyLabel; Label *mQuantityLabel; Slider *mSlider; - ShopItems *mShopItems; + ShopItems *mShopItems A_NONNULLPOINTER; int mPlayerMoney; int mMaxItems; -- cgit v1.2.3-60-g2f50