diff options
author | Luca Carlon <carlon.luca@gmail.com> | 2019-03-28 22:37:34 +0100 |
---|---|---|
committer | Luca Carlon <carlon.luca@gmail.com> | 2019-04-02 22:03:56 +0000 |
commit | 79897316bc2546bdbafbf8732fffaa53a76ab4cc (patch) | |
tree | 05b3822fa72454e3dfadad09bde448bd3878a426 /src | |
parent | ebe76c681028701d87c158554800949d51f1485d (diff) |
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 <eike.ziller@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
(cherry picked from commit 04f8c0946fdb662277fc5f87c1b4b13524d499b7)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/projectexplorer/userfileaccessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/userfileaccessor.cpp b/src/plugins/projectexplorer/userfileaccessor.cpp index f988159baa..49a0ccdf7b 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; |