diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/setup_video.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 3da6167c0..2c33ba91e 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -238,9 +238,9 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : mNoFrameCheckBox(new CheckBox(this,_("No frame"), mNoFrame)), mFpsCheckBox(new CheckBox(this,_("FPS limit:"))), mFpsSlider(new Slider(2, 160)), - mFpsLabel(new Label), + mFpsLabel(new Label(this)), mAltFpsSlider(new Slider(2, 160)), - mAltFpsLabel(new Label(_("Alt FPS limit: "))), + mAltFpsLabel(new Label(this, _("Alt FPS limit: "))), mDetectButton(new Button(this, _("Detect best mode"), "detect", this)), mDialog(nullptr) { |