summaryrefslogtreecommitdiff
path: root/src/gui/npcpostdialog.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/npcpostdialog.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/npcpostdialog.cpp')
-rw-r--r--src/gui/npcpostdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp
index 0a78ef61c..6d1064ef6 100644
--- a/src/gui/npcpostdialog.cpp
+++ b/src/gui/npcpostdialog.cpp
@@ -48,7 +48,7 @@ NpcPostDialog::NpcPostDialog(const int npcId):
setContentSize(400, 180);
// create text field for receiver
- Label *const senderText = new Label(_("To:"));
+ Label *const senderText = new Label(this, _("To:"));
senderText->setPosition(5, 5);
mSender->setPosition(senderText->getWidth() + 5, 5);
mSender->setWidth(65);