summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.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/serverdialog.cpp
parent4c7a11b639ec94c8a32a9a52e99652c464745037 (diff)
downloadmanaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz
manaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2
manaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz
manaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 6aec0d6de..b3fb9df5c 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -247,7 +247,7 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
gcn::ActionListener(),
gcn::KeyListener(),
gcn::SelectionListener(),
- mDescription(new Label(std::string())),
+ mDescription(new Label(this, std::string())),
mQuitButton(new Button(this, _("Quit"), "quit", this)),
mConnectButton(new Button(this, _("Connect"), "connect", this)),
mAddEntryButton(new Button(this, _("Add"), "addEntry", this)),