forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user