QT: TrophyViewer size adjustment | and 'Log' tab translated (#3536)

* TrophyViewer size adjustment

* +

* fix Log...
This commit is contained in:
DanielSvoboda
2025-09-06 16:10:36 -03:00
committed by GitHub
parent 90f6bf0516
commit 40f6c27a50
3 changed files with 69 additions and 20 deletions

View File

@@ -107,7 +107,7 @@ SettingsDialog::SettingsDialog(std::shared_ptr<gui_settings> gui_settings,
chooseHomeTabMap = {{tr("General"), "General"}, {tr("GUI"), "GUI"},
{tr("Graphics"), "Graphics"}, {tr("User"), "User"},
{tr("Input"), "Input"}, {tr("Paths"), "Paths"},
{tr("Debug"), "Debug"}};
{tr("Log"), "Log"}, {tr("Debug"), "Debug"}};
micMap = {{tr("None"), "None"}, {tr("Default Device"), "Default Device"}};
if (m_physical_devices.empty()) {
@@ -661,7 +661,7 @@ void SettingsDialog::LoadValuesFromConfig() {
ui->chooseHomeTabComboBox->setCurrentText(translatedText);
QStringList tabNames = {tr("General"), tr("GUI"), tr("Graphics"), tr("User"),
tr("Input"), tr("Paths"), tr("Debug")};
tr("Input"), tr("Paths"), tr("Log"), tr("Debug")};
int indexTab = tabNames.indexOf(translatedText);
if (indexTab == -1)
indexTab = 0;