Add comments for unclear "open terminal" strings

Change-Id: I74404897c4f477c29983febaadfd0397142881e6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Robert Loehning
2020-03-17 16:30:38 +01:00
parent a72acde713
commit 93091bb6b6

View File

@@ -145,8 +145,10 @@ QString FileUtils::msgTerminalHereAction()
QString FileUtils::msgTerminalWithAction() QString FileUtils::msgTerminalWithAction()
{ {
if (HostOsInfo::isWindowsHost()) if (HostOsInfo::isWindowsHost())
return QApplication::translate("Core::Internal", "Open Command Prompt With"); return QApplication::translate("Core::Internal", "Open Command Prompt With",
return QApplication::translate("Core::Internal", "Open Terminal With"); "Opens a submenu for choosing an environment, such as \"Run Environment\"");
return QApplication::translate("Core::Internal", "Open Terminal With",
"Opens a submenu for choosing an environment, such as \"Run Environment\"");
} }
void FileUtils::removeFile(const QString &filePath, bool deleteFromFS) void FileUtils::removeFile(const QString &filePath, bool deleteFromFS)