diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 21:21:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 21:21:20 +0300 |
commit | b55ff3861d1ddc46f5ee47b442e242786f0b0742 (patch) | |
tree | dcaea0040789c2f8464a5de89aeaf3737dc60d66 /src | |
parent | 681547eff8134564281ff05032eb7d29f1e7f312 (diff) | |
download | plus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.tar.gz plus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.tar.bz2 plus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.tar.xz plus-b55ff3861d1ddc46f5ee47b442e242786f0b0742.zip |
Remove default parameters from radiobutton.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/radiobutton.h | 2 | ||||
-rw-r--r-- | src/gui/windows/quitdialog.cpp | 11 |
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); } |