From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/setup_video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/setup_video.cpp') 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) { -- cgit v1.2.3-70-g09d2