From 7340935b38ef1c84c2bb7b4d4a102b6f12eacb45 Mon Sep 17 00:00:00 2001 From: Ryan Meredith Date: Wed, 6 Jun 2018 09:05:18 -0400 Subject: QT: Use brackets for description arrays --- Source/Core/DolphinQt2/Config/Graphics/SoftwareRendererWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DolphinQt2/Config/Graphics/SoftwareRendererWidget.cpp') diff --git a/Source/Core/DolphinQt2/Config/Graphics/SoftwareRendererWidget.cpp b/Source/Core/DolphinQt2/Config/Graphics/SoftwareRendererWidget.cpp index 42ecf6ff02..1a1fb2b1a7 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/SoftwareRendererWidget.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/SoftwareRendererWidget.cpp @@ -147,21 +147,21 @@ void SoftwareRendererWidget::SaveSettings() void SoftwareRendererWidget::AddDescriptions() { - static const char* TR_BACKEND_DESCRIPTION = + static const char TR_BACKEND_DESCRIPTION[] = QT_TR_NOOP("Selects what graphics API to use internally.\nThe software renderer is extremely " "slow and only useful for debugging, so you'll want to use either Direct3D or " "OpenGL. Different games and different GPUs will behave differently on each " "backend, so for the best emulation experience it's recommended to try both and " "choose the one that's less problematic.\n\nIf unsure, select OpenGL."); - static const char* TR_SHOW_STATISTICS_DESCRIPTION = + static const char TR_SHOW_STATISTICS_DESCRIPTION[] = QT_TR_NOOP("Show various rendering statistics.\n\nIf unsure, leave this unchecked."); - static const char* TR_DUMP_TEXTURES_DESCRIPTION = + static const char TR_DUMP_TEXTURES_DESCRIPTION[] = QT_TR_NOOP("Dump decoded game textures to User/Dump/Textures//.\n\nIf unsure, leave " "this unchecked."); - static const char* TR_DUMP_OBJECTS_DESCRIPTION = + static const char TR_DUMP_OBJECTS_DESCRIPTION[] = QT_TR_NOOP("Dump objects to User/Dump/Objects/.\n\nIf unsure, leave " "this unchecked."); -- cgit v1.2.3