diff options
| author | Dentomologist <dentomologist@gmail.com> | 2024-04-25 23:08:51 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2024-07-29 14:00:46 -0700 |
| commit | 5512b68020268bbc57e4a44f18ddff021e6ba377 (patch) | |
| tree | 0fb478766adb4492d10081c76eeda1479038a184 /Source/Core | |
| parent | bfbc4c8cc7d1cd3640efa4c105d02e9054e73350 (diff) | |
GeneralPane: Add BalloonTip to enable analytics checkbox
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/Settings/GeneralPane.cpp | 10 | ||||
| -rw-r--r-- | Source/Core/DolphinQt/Settings/GeneralPane.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.cpp b/Source/Core/DolphinQt/Settings/GeneralPane.cpp index a80c2c176c..8b2962fe6e 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.cpp +++ b/Source/Core/DolphinQt/Settings/GeneralPane.cpp @@ -228,7 +228,7 @@ void GeneralPane::CreateAnalytics() analytics_group->setLayout(analytics_group_layout); m_main_layout->addWidget(analytics_group); - m_checkbox_enable_analytics = new QCheckBox(tr("Enable Usage Statistics Reporting")); + m_checkbox_enable_analytics = new ToolTipCheckBox(tr("Enable Usage Statistics Reporting")); m_button_generate_new_identity = new NonDefaultQPushButton(tr("Generate a New Statistics Identity")); analytics_group_layout->addWidget(m_checkbox_enable_analytics); @@ -426,6 +426,12 @@ void GeneralPane::AddDescriptions() static constexpr char TR_FALLBACK_REGION_DESCRIPTION[] = QT_TR_NOOP("Sets the region used for titles whose region cannot be determined automatically." "<br><br>This setting cannot be changed while emulation is active."); + static constexpr char TR_ENABLE_ANALYTICS_DESCRIPTION[] = QT_TR_NOOP( + "If selected, Dolphin can collect data on its performance, feature usage, emulated games, " + "and configuration, as well as data on your system's hardware and operating system." + "<br><br>No private data is ever collected. This data helps us understand how people and " + "emulated games use Dolphin and prioritize our efforts. It also helps us identify rare " + "configurations that are causing bugs, performance and stability issues."); m_checkbox_dualcore->SetDescription(tr(TR_DUALCORE_DESCRIPTION)); @@ -450,4 +456,6 @@ void GeneralPane::AddDescriptions() m_combobox_fallback_region->SetTitle(tr("Fallback Region")); m_combobox_fallback_region->SetDescription(tr(TR_FALLBACK_REGION_DESCRIPTION)); + + m_checkbox_enable_analytics->SetDescription(tr(TR_ENABLE_ANALYTICS_DESCRIPTION)); } diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.h b/Source/Core/DolphinQt/Settings/GeneralPane.h index ba60cddf7e..8b968f9c4a 100644 --- a/Source/Core/DolphinQt/Settings/GeneralPane.h +++ b/Source/Core/DolphinQt/Settings/GeneralPane.h @@ -58,6 +58,6 @@ private: void GenerateNewIdentity(); QPushButton* m_button_generate_new_identity; - QCheckBox* m_checkbox_enable_analytics; + ToolTipCheckBox* m_checkbox_enable_analytics; #endif }; |
