UI: Options: Add app path example with env. var.

This commit is contained in:
Nodir Temirkhodjaev 2022-02-26 18:48:42 +03:00
parent d7eb11f24c
commit 9b7fe0118f

View File

@ -127,7 +127,8 @@ void ApplicationsPage::retranslateAppsPlaceholderText()
{ {
const auto placeholderText = tr("# Examples:") + '\n' const auto placeholderText = tr("# Examples:") + '\n'
+ QLatin1String("System\n" + QLatin1String("System\n"
"C:\\Program Files (x86)\\Microsoft\\Skype for Desktop\\Skype.exe\n") "C:\\Program Files (x86)\\Microsoft\\Skype for Desktop\\Skype.exe\n"
"%SystemRoot%\\System32\\telnet.exe\n")
+ '\n' + tr("# All programs in the sub-path:") + QLatin1String("\nC:\\Git\\**"); + '\n' + tr("# All programs in the sub-path:") + QLatin1String("\nC:\\Git\\**");
m_allowApps->editText()->setPlaceholderText(placeholderText); m_allowApps->editText()->setPlaceholderText(placeholderText);