Gui: Add translation to 'No style sheet'
(cherry picked from commit 0a73f53990)
This commit is contained in:
committed by
Max Wilfinger
parent
9a4cedf1a4
commit
0887aa188b
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user