From 04f8c0946fdb662277fc5f87c1b4b13524d499b7 Mon Sep 17 00:00:00 2001 From: Luca Carlon Date: Thu, 28 Mar 2019 22:37:34 +0100 Subject: [PATCH] Suffix project user file with value of QTC_EXTENSION if present Value of environment variable QTC_EXTENSION used to be appended to the name of the project user file. This patch brings back the old behavior. Change-Id: I5d15fd529b056f1a96a561924a41ae62ae4b2681 Reviewed-by: Eike Ziller Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/userfileaccessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/userfileaccessor.cpp b/src/plugins/projectexplorer/userfileaccessor.cpp index f988159baaf..49a0ccdf7ba 100644 --- a/src/plugins/projectexplorer/userfileaccessor.cpp +++ b/src/plugins/projectexplorer/userfileaccessor.cpp @@ -377,7 +377,7 @@ QVariant UserFileAccessor::retrieveSharedSettings() const FileName UserFileAccessor::projectUserFile() const { - static const QString qtcExt = QLatin1String(qgetenv("QTC_SHARED_EXTENSION")); + static const QString qtcExt = QLatin1String(qgetenv("QTC_EXTENSION")); FileName projectUserFile = m_project->projectFilePath(); projectUserFile.appendString(generateSuffix(qtcExt.isEmpty() ? ".user" : qtcExt)); return projectUserFile;