diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:37:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 015b14f8e60d64da2999da9c753af62ec1ffdf72 (patch) | |
tree | 5a96c0573d7065fc4a3c87bf727c0645946c1222 /src/gui/quitdialog.cpp | |
parent | b6b4ea19929e7e67d987041aa129366f4fed3a6d (diff) | |
download | manaverse-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.gz manaverse-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.bz2 manaverse-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.xz manaverse-015b14f8e60d64da2999da9c753af62ec1ffdf72.zip |
Add palette inheritance to radiobutton class.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r-- | src/gui/quitdialog.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp index 184479e57..f2c6602cd 100644 --- a/src/gui/quitdialog.cpp +++ b/src/gui/quitdialog.cpp @@ -51,10 +51,12 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe): Window(_("Quit"), true, nullptr, "quit.xml"), gcn::ActionListener(), gcn::KeyListener(), - mLogoutQuit(new RadioButton(_("Quit"), "quitdialog")), - mForceQuit(new RadioButton(_("Quit"), "quitdialog")), - mSwitchAccountServer(new RadioButton(_("Switch server"), "quitdialog")), - mSwitchCharacter(new RadioButton(_("Switch character"), "quitdialog")), + mLogoutQuit(new RadioButton(this, _("Quit"), "quitdialog")), + mForceQuit(new RadioButton(this, _("Quit"), "quitdialog")), + mSwitchAccountServer(new RadioButton(this, + _("Switch server"), "quitdialog")), + mSwitchCharacter(new RadioButton(this, + _("Switch character"), "quitdialog")), mOkButton(new Button(this, _("OK"), "ok", this)), mCancelButton(new Button(this, _("Cancel"), "cancel", this)), mMyPointer(pointerToMe) |