Gui: Add translation to 'No style sheet'

This commit is contained in:
Chris Hennes
2025-11-17 23:15:58 +01:00
committed by Kacper Donat
parent 8c8b26ee4b
commit 0a73f53990
+3 -1
View File
@@ -120,7 +120,9 @@ void DlgSettingsUI::loadSettings()
void DlgSettingsUI::loadStyleSheet()
{
populateStylesheets("StyleSheet", "qss", ui->StyleSheets, "No style sheet");
static std::string translatedString; // Make sure the memory doesn't disappear on us
translatedString = tr("No style sheet").toStdString();
populateStylesheets("StyleSheet", "qss", ui->StyleSheets, translatedString.c_str());
populateStylesheets("OverlayActiveStyleSheet", "overlay", ui->OverlayStyleSheets, "Auto");
}