diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp index fe6a513e74..f25dc8b21b 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp @@ -203,9 +203,6 @@ void GeneralWidget::AddDescriptions() "backend, so for the best emulation experience it is recommended to try each and " "select the backend that is least problematic.

If unsure, " "select OpenGL."); - static const char TR_ADAPTER_DESCRIPTION[] = - QT_TR_NOOP("Selects a hardware adapter to use.

If unsure, " - "select the first one."); static const char TR_FULLSCREEN_DESCRIPTION[] = QT_TR_NOOP("Uses the entire screen for rendering.

If disabled, a " "render window will be created instead.

If " @@ -274,7 +271,6 @@ void GeneralWidget::AddDescriptions() m_backend_combo->SetDescription(tr(TR_BACKEND_DESCRIPTION)); m_adapter_combo->SetTitle(tr("Adapter")); - m_adapter_combo->SetDescription(tr(TR_ADAPTER_DESCRIPTION)); m_aspect_combo->SetTitle(tr("Aspect Ratio")); m_aspect_combo->SetDescription(tr(TR_ASPECT_RATIO_DESCRIPTION)); @@ -324,8 +320,15 @@ void GeneralWidget::OnBackendChanged(const QString& backend_name) m_adapter_combo->setCurrentIndex(g_Config.iAdapter); m_adapter_combo->setEnabled(supports_adapters && !Core::IsRunning()); - m_adapter_combo->setToolTip(supports_adapters ? - QString{} : - tr("%1 doesn't support this feature.") - .arg(tr(g_video_backend->GetDisplayName().c_str()))); + static constexpr char TR_ADAPTER_AVAILABLE_DESCRIPTION[] = + QT_TR_NOOP("Selects a hardware adapter to use.

" + "If unsure, select the first one."); + static constexpr char TR_ADAPTER_UNAVAILABLE_DESCRIPTION[] = + QT_TR_NOOP("Selects a hardware adapter to use.

" + "%1 doesn't support this feature."); + + m_adapter_combo->SetDescription(supports_adapters ? + tr(TR_ADAPTER_AVAILABLE_DESCRIPTION) : + tr(TR_ADAPTER_UNAVAILABLE_DESCRIPTION) + .arg(tr(g_video_backend->GetDisplayName().c_str()))); }