summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/radiobutton.h2
-rw-r--r--src/gui/windows/quitdialog.cpp11
2 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/widgets/radiobutton.h b/src/gui/widgets/radiobutton.h
index 37bafab29..10979fd39 100644
--- a/src/gui/widgets/radiobutton.h
+++ b/src/gui/widgets/radiobutton.h
@@ -94,7 +94,7 @@ class RadioButton final : public Widget,
RadioButton(const Widget2 *const widget,
const std::string &restrict caption,
const std::string &restrict group,
- const bool marked = false);
+ const bool marked);
A_DELETE_COPY(RadioButton)
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp
index b14b4c52b..be1c4d26c 100644
--- a/src/gui/windows/quitdialog.cpp
+++ b/src/gui/windows/quitdialog.cpp
@@ -53,15 +53,15 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe) :
KeyListener(),
mOptions(),
// TRANSLATORS: quit dialog button
- mLogoutQuit(new RadioButton(this, _("Quit"), "quitdialog")),
+ mLogoutQuit(new RadioButton(this, _("Quit"), "quitdialog", false)),
// TRANSLATORS: quit dialog button
- mForceQuit(new RadioButton(this, _("Quit"), "quitdialog")),
+ mForceQuit(new RadioButton(this, _("Quit"), "quitdialog", false)),
mSwitchAccountServer(new RadioButton(this,
// TRANSLATORS: quit dialog button
- _("Switch server"), "quitdialog")),
+ _("Switch server"), "quitdialog", false)),
mSwitchCharacter(new RadioButton(this,
// TRANSLATORS: quit dialog button
- _("Switch character"), "quitdialog")),
+ _("Switch character"), "quitdialog", false)),
mRate(nullptr),
// TRANSLATORS: quit dialog button
mOkButton(new Button(this, _("OK"), "ok", this)),
@@ -101,7 +101,8 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe) :
&& config.getIntValue("gamecount") > 3)
{
// TRANSLATORS: rate button
- mRate = new RadioButton(this, _("Rate in google play"), "quitdialog");
+ mRate = new RadioButton(this, _("Rate in google play"), "quitdialog",
+ false);
placeOption(placer, mRate);
mOptions[mOptions.size() - 1]->setSelected(true);
}