summaryrefslogtreecommitdiff
path: root/src/gui/spellpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:23:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch)
tree0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/spellpopup.cpp
parent4c7a11b639ec94c8a32a9a52e99652c464745037 (diff)
downloadmanaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz
manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2
manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz
manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/spellpopup.cpp')
-rw-r--r--src/gui/spellpopup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/spellpopup.cpp b/src/gui/spellpopup.cpp
index fd589a40c..f9ba2c9e7 100644
--- a/src/gui/spellpopup.cpp
+++ b/src/gui/spellpopup.cpp
@@ -40,8 +40,8 @@
SpellPopup::SpellPopup():
Popup("SpellPopup", "spellpopup.xml"),
- mItemName(new Label),
- mItemComment(new Label)
+ mItemName(new Label(this)),
+ mItemComment(new Label(this))
{
mItemName->setFont(boldFont);
mItemName->setForegroundColor(getThemeColor(Theme::POPUP));