summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 23:39:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 23:39:01 +0300
commit98295d32030c620040e3e6bd912c6808174640e4 (patch)
tree20f938a3dc3421d0c9db1c9bbe6af63643470fe6 /src/gui/widgets
parent56521cb9236ac7e967117cb967c371c1ae836061 (diff)
downloadmv-98295d32030c620040e3e6bd912c6808174640e4.tar.gz
mv-98295d32030c620040e3e6bd912c6808174640e4.tar.bz2
mv-98295d32030c620040e3e6bd912c6808174640e4.tar.xz
mv-98295d32030c620040e3e6bd912c6808174640e4.zip
Remove default parameters from tabstrip.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp2
-rw-r--r--src/gui/widgets/tabstrip.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index dc1e531f8..ec03b0591 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -69,7 +69,7 @@ Setup_Input::Setup_Input(const Widget2 *const widget) :
mDefaultButton(new Button(this, _("Default"), "default", this)),
// TRANSLATORS: button in input settings tab
mResetKeysButton(new Button(this, _("Reset all keys"), "resetkeys", this)),
- mTabs(new TabStrip(this, config.getIntValue("fontSize") + 10)),
+ mTabs(new TabStrip(this, config.getIntValue("fontSize") + 10, 0)),
mScrollArea(new ScrollArea(this, mKeyList,
Opaque_true, "setup_input_background.xml")),
mKeySetting(false),
diff --git a/src/gui/widgets/tabstrip.h b/src/gui/widgets/tabstrip.h
index e1e4ca486..978bb9776 100644
--- a/src/gui/widgets/tabstrip.h
+++ b/src/gui/widgets/tabstrip.h
@@ -29,11 +29,11 @@ class TabStrip final : public WidgetGroup
TabStrip(const Widget2 *const widget,
const std::string &group,
const int height,
- const int spacing = 0);
+ const int spacing);
TabStrip(const Widget2 *const widget,
const int height,
- const int spacing = 0);
+ const int spacing);
A_DELETE_COPY(TabStrip)