diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_video.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index f1171ca28..77b56289e 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -79,7 +79,7 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : mAltFpsSlider(new Slider(this, 2.0, 160.0, 1.0)), // TRANSLATORS: video settings label mAltFpsLabel(new Label(this, _("Alt FPS limit: "))), -#if !defined(ANDROID) && !defined(__APPLE__) +#if !defined(ANDROID) && !defined(__APPLE__) && !defined(__native_client__) // TRANSLATORS: video settings button mDetectButton(new Button(this, _("Detect best mode"), "detect", this)), #endif @@ -172,7 +172,7 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : place(0, 7, mAltFpsSlider); place(1, 7, mAltFpsLabel).setPadding(3); -#if !defined(ANDROID) && !defined(__APPLE__) +#if !defined(ANDROID) && !defined(__APPLE__) && !defined(__native_client__) place(0, 8, mDetectButton); #else mNoFrameCheckBox->setEnabled(false); diff --git a/src/gui/widgets/tabs/setup_video.h b/src/gui/widgets/tabs/setup_video.h index 4d455a0b9..f497bf786 100644 --- a/src/gui/widgets/tabs/setup_video.h +++ b/src/gui/widgets/tabs/setup_video.h @@ -68,7 +68,7 @@ class Setup_Video final : public SetupTab, Label *mFpsLabel; Slider *mAltFpsSlider; Label *mAltFpsLabel; -#if !defined(ANDROID) && !defined(__APPLE__) +#if !defined(ANDROID) && !defined(__APPLE__) || !defined(__native_client__) Button *mDetectButton; #endif TextDialog *mDialog; |