forked from qt-creator/qt-creator
Do not use QDir::separator() for internal paths
Internal paths are supposed to be normalized Change-Id: Ic6943ce13ad389dfdb44054a9e6f03da8c6cd88d Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
704f3d539b
commit
1bcfa137a3
@@ -100,7 +100,7 @@ QList<Utils::EnvironmentItem> QnxUtils::qnxEnvironmentFromEnvFile(const QString
|
||||
|
||||
// locking creating bbndk-env file wrapper script
|
||||
QTemporaryFile tmpFile(
|
||||
QDir::tempPath() + QDir::separator()
|
||||
QDir::tempPath() + QLatin1Char('/')
|
||||
+ QLatin1String("bbndk-env-eval-XXXXXX") + QLatin1String(isWindows ? ".bat" : ".sh"));
|
||||
if (!tmpFile.open())
|
||||
return items;
|
||||
|
||||
Reference in New Issue
Block a user