diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/tradewindow.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp index f5f593b2e..46a9179b5 100644 --- a/src/gui/tradewindow.cpp +++ b/src/gui/tradewindow.cpp @@ -67,7 +67,7 @@ TradeWindow::TradeWindow(): mPartnerInventory(new Inventory(Inventory::TRADE)), mMyItemContainer(new ItemContainer(this, mMyInventory.get())), mPartnerItemContainer(new ItemContainer(this, mPartnerInventory.get())), - mMoneyLabel(new Label(strprintf(_("You get %s"), ""))), + mMoneyLabel(new Label(this, strprintf(_("You get %s"), ""))), mAddButton(new Button(this, _("Add"), "add", this)), mOkButton(new Button(this, "", "", this)), // Will be filled in later mMoneyChangeButton(new Button(this, _("Change"), "money", this)), @@ -112,7 +112,7 @@ TradeWindow::TradeWindow(): true, "trade_background.xml"); partnerScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); - Label *const moneyLabel2 = new Label(_("You give:")); + Label *const moneyLabel2 = new Label(this, _("You give:")); mMoneyField->setWidth(40); |