From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/shopwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/shopwindow.cpp') diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index a0e91dd26..87d2e8f25 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -84,8 +84,8 @@ ShopWindow::ShopWindow(): getOptionBool("showbuybackground"), "shop_buy_background.xml")), mSellScrollArea(new ScrollArea(mSellShopItemList, getOptionBool("showsellbackground"), "shop_sell_background.xml")), - mBuyLabel(new Label(_("Buy items"))), - mSellLabel(new Label(_("Sell items"))), + mBuyLabel(new Label(this, _("Buy items"))), + mSellLabel(new Label(this, _("Sell items"))), mBuyAddButton(new Button(this, _("Add"), "add buy", this)), mBuyDeleteButton(new Button(this, _("Delete"), "delete buy", this)), mBuyAnnounceButton(new Button(this, _("Announce"), "announce buy", this)), -- cgit v1.2.3-60-g2f50