diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.cpp b/Source/Core/DolphinQt/Settings/GeneralPane.cpp index 6740bfbd9d..e8bb70afa7 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.cpp +++ b/Source/Core/DolphinQt/Settings/GeneralPane.cpp @@ -192,7 +192,7 @@ void GeneralPane::CreateAutoUpdate() auto_update_group_layout->setFormAlignment(Qt::AlignLeft | Qt::AlignTop); auto_update_group_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); - m_combobox_update_track = new QComboBox(this); + m_combobox_update_track = new ToolTipComboBox(); auto_update_group_layout->addRow(tr("&Auto Update:"), m_combobox_update_track); @@ -410,6 +410,25 @@ void GeneralPane::AddDescriptions() "

Higher speeds are proportionally more costly to emulate. Depending on the title, " "your settings, and your host hardware, some of these values may not be sustainable." "

If unsure, select 100%."); + static constexpr char TR_UPDATE_TRACK_DESCRIPTION[] = QT_TR_NOOP( + "Selects which update track Dolphin uses when checking for updates at startup. If a new " + "update is available, Dolphin will show a list of changes made since your current version " + "and ask you if you want to update." + "

The Dev track has the latest version of Dolphin which often updates multiple times " + "per day. Select this track if you want the newest features and fixes." + "

The Releases track has an update every few months. Some reasons you might prefer to " + "use this track:" + "
- You prefer using versions that have had additional testing." + "
- NetPlay requires players to have the same Dolphin version, and the latest Release " + "version will have the most players to match with." + "
- You frequently use Dolphin's savestate system, which doesn't guarantee backward " + "compatibility of savestates between Dolphin versions. If this applies to you, make sure you " + "make an in-game save before updating (i.e. save your game in the same way you would on a " + "physical GameCube or Wii), then load the in-game save after updating Dolphin and before " + "making any new savestates." + "

Selecting \"Don't Update\" will prevent Dolphin from automatically checking for " + "updates." + "

If unsure, select Releases."); m_checkbox_dualcore->SetDescription(tr(TR_DUALCORE_DESCRIPTION)); @@ -425,4 +444,10 @@ void GeneralPane::AddDescriptions() m_combobox_speedlimit->SetTitle(tr("Speed Limit")); m_combobox_speedlimit->SetDescription(tr(TR_SPEEDLIMIT_DESCRIPTION)); + + if (AutoUpdateChecker::SystemSupportsAutoUpdates()) + { + m_combobox_update_track->SetTitle(tr("Auto Update")); + m_combobox_update_track->SetDescription(tr(TR_UPDATE_TRACK_DESCRIPTION)); + } } diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.h b/Source/Core/DolphinQt/Settings/GeneralPane.h index 77f4303e55..facc651648 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.h +++ b/Source/Core/DolphinQt/Settings/GeneralPane.h @@ -42,7 +42,7 @@ private: // Widgets QVBoxLayout* m_main_layout; ToolTipComboBox* m_combobox_speedlimit; - QComboBox* m_combobox_update_track; + ToolTipComboBox* m_combobox_update_track; QComboBox* m_combobox_fallback_region; ConfigBool* m_checkbox_dualcore; ConfigBool* m_checkbox_cheats;