forked from qt-creator/qt-creator
QmakePM: Remove unused explicit shadow build flag
Looks like the information has been based derived from buildDirectory() != target()->project()->projectDirectory() for a while. Change-Id: Ieb64e72d8fd1d4a6a339b695422fff6355cd3969 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -101,7 +101,6 @@ static FilePath defaultBuildDirectory(const FilePath &projectPath,
|
||||
suffix, type));
|
||||
}
|
||||
|
||||
const char USE_SHADOW_BUILD_KEY[] = "Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild";
|
||||
const char BUILD_CONFIGURATION_KEY[] = "Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration";
|
||||
|
||||
enum { debug = 0 };
|
||||
@@ -181,7 +180,6 @@ QmakeBuildConfiguration::~QmakeBuildConfiguration() = default;
|
||||
QVariantMap QmakeBuildConfiguration::toMap() const
|
||||
{
|
||||
QVariantMap map(BuildConfiguration::toMap());
|
||||
map.insert(QLatin1String(USE_SHADOW_BUILD_KEY), m_shadowBuild);
|
||||
map.insert(QLatin1String(BUILD_CONFIGURATION_KEY), int(m_qmakeBuildConfiguration));
|
||||
return map;
|
||||
}
|
||||
@@ -191,7 +189,6 @@ bool QmakeBuildConfiguration::fromMap(const QVariantMap &map)
|
||||
if (!BuildConfiguration::fromMap(map))
|
||||
return false;
|
||||
|
||||
m_shadowBuild = map.value(QLatin1String(USE_SHADOW_BUILD_KEY), true).toBool();
|
||||
m_qmakeBuildConfiguration = BaseQtVersion::QmakeBuildConfigs(map.value(QLatin1String(BUILD_CONFIGURATION_KEY)).toInt());
|
||||
|
||||
m_lastKitState = LastKitState(target()->kit());
|
||||
|
@@ -97,7 +97,6 @@ signals:
|
||||
/// emitted for setQMakeBuildConfig, not emitted for Qt version changes, even
|
||||
/// if those change the qmakebuildconfig
|
||||
void qmakeBuildConfigurationChanged();
|
||||
void shadowBuildChanged();
|
||||
|
||||
protected:
|
||||
bool fromMap(const QVariantMap &map) override;
|
||||
@@ -123,7 +122,6 @@ private:
|
||||
};
|
||||
LastKitState m_lastKitState;
|
||||
|
||||
bool m_shadowBuild = true;
|
||||
QtSupport::BaseQtVersion::QmakeBuildConfigs m_qmakeBuildConfiguration;
|
||||
QmakeProFileNode *m_subNodeBuild = nullptr;
|
||||
ProjectExplorer::FileNode *m_fileNodeBuild = nullptr;
|
||||
|
Reference in New Issue
Block a user