From 9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 15:42:15 +0300 Subject: move virtual member calls from itempopup constuctor into postInit. --- src/gui/widgets/shoplistbox.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/shoplistbox.cpp') diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index d0ff4e746..cc622653d 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -56,6 +56,7 @@ ShopListBox::ShopListBox(const Widget2 *const widget, mPriceCheck(true), mProtectItems(false) { + mItemPopup->postInit(); mHighlightColor = getThemeColor(Theme::HIGHLIGHT); mForegroundColor = getThemeColor(Theme::LISTBOX); } @@ -73,6 +74,7 @@ ShopListBox::ShopListBox(const Widget2 *const widget, mPriceCheck(true), mProtectItems(false) { + mItemPopup->postInit(); mHighlightColor = getThemeColor(Theme::HIGHLIGHT); mForegroundColor = getThemeColor(Theme::LISTBOX); } -- cgit v1.2.3-70-g09d2