Commit 531676bc authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Remove some useless member variables



Change-Id: I648984616ebd965e51ebe6ec6f369a6dfa4fc339
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 4a8fc326
...@@ -362,13 +362,12 @@ void QbsProject::parse(const QVariantMap &config, const QString &dir) ...@@ -362,13 +362,12 @@ void QbsProject::parse(const QVariantMap &config, const QString &dir)
{ {
QTC_ASSERT(!dir.isNull(), return); QTC_ASSERT(!dir.isNull(), return);
prepareForParsing(); prepareForParsing();
m_qbsBuildConfig = config;
m_qbsBuildRoot = dir;
QTC_ASSERT(!m_qbsSetupProjectJob, return); QTC_ASSERT(!m_qbsSetupProjectJob, return);
qbs::SetupProjectParameters params; qbs::SetupProjectParameters params;
params.setBuildConfiguration(m_qbsBuildConfig); params.setBuildConfiguration(config);
params.setBuildRoot(m_qbsBuildRoot); params.setBuildRoot(dir);
params.setProjectFilePath(m_fileName); params.setProjectFilePath(m_fileName);
params.setIgnoreDifferentProjectFilePath(false); params.setIgnoreDifferentProjectFilePath(false);
qbs::Preferences *prefs = QbsManager::preferences(); qbs::Preferences *prefs = QbsManager::preferences();
......
...@@ -132,8 +132,6 @@ private: ...@@ -132,8 +132,6 @@ private:
QbsProjectNode *m_rootProjectNode; QbsProjectNode *m_rootProjectNode;
qbs::SetupProjectJob *m_qbsSetupProjectJob; qbs::SetupProjectJob *m_qbsSetupProjectJob;
QVariantMap m_qbsBuildConfig;
QString m_qbsBuildRoot;
QFutureInterface<void> *m_qbsUpdateFutureInterface; QFutureInterface<void> *m_qbsUpdateFutureInterface;
int m_currentProgressBase; int m_currentProgressBase;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment