Skip to content

Commit

Permalink
DlgPrefInterface: Disable tooltips on iOS by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jan 29, 2024
1 parent a7af572 commit 9d38990
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/preferences/dialog/dlgprefinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <QList>
#include <QLocale>
#include <QScreen>
#include <QtGlobal>

#include "control/controlobject.h"
#include "control/controlproxy.h"
Expand Down Expand Up @@ -439,7 +440,11 @@ void DlgPrefInterface::slotApply() {
void DlgPrefInterface::loadTooltipPreferenceFromConfig() {
const auto tooltipMode = static_cast<mixxx::TooltipsPreference>(
m_pConfig->getValue(ConfigKey(kControlsGroup, kTooltipsKey),
#ifdef Q_OS_IOS
static_cast<int>(mixxx::TooltipsPreference::TOOLTIPS_OFF)));
#else
static_cast<int>(mixxx::TooltipsPreference::TOOLTIPS_ON)));
#endif
switch (tooltipMode) {
case mixxx::TooltipsPreference::TOOLTIPS_OFF:
radioButtonTooltipsOff->setChecked(true);
Expand Down

0 comments on commit 9d38990

Please sign in to comment.