summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 21:21:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 21:21:20 +0300
commitb55ff3861d1ddc46f5ee47b442e242786f0b0742 (patch)
treedcaea0040789c2f8464a5de89aeaf3737dc60d66 /src/gui
parent681547eff8134564281ff05032eb7d29f1e7f312 (diff)
downloadmanaplus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.tar.gz
manaplus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.tar.bz2
manaplus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.tar.xz
manaplus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.zip
Remove default parameters from radiobutton.
Diffstat (limited to 'src/gui')
-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);
}