From 5d02ab43ff6d3e328a3b02479c033609023edec2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 01:25:19 +0300 Subject: Add palette inheritance to icon class. --- src/gui/itempopup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/itempopup.cpp') diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index cd2663079..3c4241022 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -51,7 +51,7 @@ ItemPopup::ItemPopup() : mItemDesc(new TextBox), mItemEffect(new TextBox), mItemWeight(new TextBox), - mIcon(new Icon(nullptr)), + mIcon(new Icon(this, nullptr)), mLastName(""), mLastColor(1) { -- cgit v1.2.3-70-g09d2