summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-18 00:45:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-18 00:45:23 +0300
commit14a0a04b2bb3928f7429fd748dd40e1843fca571 (patch)
tree28f772d80afd66838b0123efeac005f445a39bce /src/gui/widgets/tabs
parent1d71d02a40dc1f4c50572bf0681bbc2907a3c361 (diff)
downloadmanaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.gz
manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.bz2
manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.xz
manaverse-14a0a04b2bb3928f7429fd748dd40e1843fca571.zip
Remove default constructor from Widget2.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp10
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index d29c56c85..8ea9d5fbb 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -58,23 +58,23 @@ Setup_Colors::Setup_Colors(const Widget2 *const widget) :
mSelected(-1),
// TRANSLATORS: colors tab. label.
mGradTypeLabel(new Label(this, _("Type:"))),
- mGradTypeSlider(new Slider(0, 3)),
+ mGradTypeSlider(new Slider(this, 0, 3)),
mGradTypeText(new Label(this)),
// TRANSLATORS: colors tab. label.
mGradDelayLabel(new Label(this, _("Delay:"))),
- mGradDelaySlider(new Slider(20, 100)),
+ mGradDelaySlider(new Slider(this, 20, 100)),
mGradDelayText(new TextField(this)),
// TRANSLATORS: colors tab. label.
mRedLabel(new Label(this, _("Red:"))),
- mRedSlider(new Slider(0, 255)),
+ mRedSlider(new Slider(this, 0, 255)),
mRedText(new TextField(this)),
// TRANSLATORS: colors tab. label.
mGreenLabel(new Label(this, _("Green:"))),
- mGreenSlider(new Slider(0, 255)),
+ mGreenSlider(new Slider(this, 0, 255)),
mGreenText(new TextField(this)),
// TRANSLATORS: colors tab. label.
mBlueLabel(new Label(this, _("Blue:"))),
- mBlueSlider(new Slider(0, 255)),
+ mBlueSlider(new Slider(this, 0, 255)),
mBlueText(new TextField(this))
{
mColorBox->postInit();
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 589b08e5e..be00937f2 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -191,9 +191,9 @@ Setup_Video::Setup_Video(const Widget2 *const widget) :
mOpenGLDropDown(new DropDown(widget, mOpenGLListModel)),
// TRANSLATORS: video settings checkbox
mFpsCheckBox(new CheckBox(this, _("FPS limit:"))),
- mFpsSlider(new Slider(2, 160)),
+ mFpsSlider(new Slider(this, 2, 160)),
mFpsLabel(new Label(this)),
- mAltFpsSlider(new Slider(2, 160)),
+ mAltFpsSlider(new Slider(this, 2, 160)),
// TRANSLATORS: video settings label
mAltFpsLabel(new Label(this, _("Alt FPS limit: "))),
#if !defined(ANDROID) && !defined(__APPLE__)