summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r--src/gui/quitdialog.cpp10
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)