diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 20:37:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 20:37:08 +0300 |
commit | 681547eff8134564281ff05032eb7d29f1e7f312 (patch) | |
tree | a6b41f0e5ac25b1c100c3e609ab34739248e544a /src/gui/widgets/tabs/setup_video.cpp | |
parent | 9bc0a2e01e60e3c57324c86fa76be3bfa88dca81 (diff) | |
download | manaverse-681547eff8134564281ff05032eb7d29f1e7f312.tar.gz manaverse-681547eff8134564281ff05032eb7d29f1e7f312.tar.bz2 manaverse-681547eff8134564281ff05032eb7d29f1e7f312.tar.xz manaverse-681547eff8134564281ff05032eb7d29f1e7f312.zip |
Remove default parameters from checkbox.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index 26e97b19a..7d8e474ea 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -72,10 +72,12 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : mOpenGLListModel(new OpenGLListModel), mModeList(CREATEWIDGETR(ListBox, widget, mModeListModel, "")), // TRANSLATORS: video settings checkbox - mFsCheckBox(new CheckBox(this, _("Full screen"), mFullScreenEnabled)), + mFsCheckBox(new CheckBox(this, _("Full screen"), mFullScreenEnabled, + nullptr, std::string())), mOpenGLDropDown(new DropDown(widget, mOpenGLListModel)), // TRANSLATORS: video settings checkbox - mFpsCheckBox(new CheckBox(this, _("FPS limit:"))), + mFpsCheckBox(new CheckBox(this, _("FPS limit:"), false, + nullptr, std::string())), mFpsSlider(new Slider(this, 2.0, 160.0, 1.0)), mFpsLabel(new Label(this)), mAltFpsSlider(new Slider(this, 2.0, 160.0, 1.0)), @@ -93,7 +95,8 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : #ifdef USE_SDL2 mAllowHighDPI(config.getBoolValue("allowHighDPI")), // TRANSLATORS: video settings checkbox - mAllowHighDPICheckBox(new CheckBox(this, _("High DPI"), mAllowHighDPI)), + mAllowHighDPICheckBox(new CheckBox(this, _("High DPI"), mAllowHighDPI, + nullptr, std::string())), #endif // USE_SDL2 mCustomCursorCheckBox(new CheckBox(this, #ifdef ANDROID @@ -103,12 +106,14 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : // TRANSLATORS: video settings checkbox _("Custom cursor"), #endif // ANDROID - mCustomCursorEnabled)), + mCustomCursorEnabled, + nullptr, std::string())), // TRANSLATORS: video settings checkbox mEnableResizeCheckBox(new CheckBox(this, _("Enable resize"), - mEnableResize)), + mEnableResize, nullptr, std::string())), // TRANSLATORS: video settings checkbox - mNoFrameCheckBox(new CheckBox(this, _("No frame"), mNoFrame)) + mNoFrameCheckBox(new CheckBox(this, _("No frame"), mNoFrame, + nullptr, std::string())) { // TRANSLATORS: video settings tab name setName(_("Video")); |