From 9d38990822c9f1d33427fb078c0ec6a99ff16973 Mon Sep 17 00:00:00 2001 From: fwcd Date: Mon, 29 Jan 2024 18:05:06 +0100 Subject: [PATCH] DlgPrefInterface: Disable tooltips on iOS by default --- src/preferences/dialog/dlgprefinterface.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/preferences/dialog/dlgprefinterface.cpp b/src/preferences/dialog/dlgprefinterface.cpp index c7c7ade152f..9ad91dd79cd 100644 --- a/src/preferences/dialog/dlgprefinterface.cpp +++ b/src/preferences/dialog/dlgprefinterface.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include "control/controlobject.h" #include "control/controlproxy.h" @@ -439,7 +440,11 @@ void DlgPrefInterface::slotApply() { void DlgPrefInterface::loadTooltipPreferenceFromConfig() { const auto tooltipMode = static_cast( m_pConfig->getValue(ConfigKey(kControlsGroup, kTooltipsKey), +#ifdef Q_OS_IOS + static_cast(mixxx::TooltipsPreference::TOOLTIPS_OFF))); +#else static_cast(mixxx::TooltipsPreference::TOOLTIPS_ON))); +#endif switch (tooltipMode) { case mixxx::TooltipsPreference::TOOLTIPS_OFF: radioButtonTooltipsOff->setChecked(true);