diff options
author | Radovan Zivkovic <pivonroll@gmail.com> | 2013-08-06 00:26:34 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-03-11 19:54:56 +0100 |
commit | 3066bb574c06c55593c857a37b444ec99a1c8fb1 (patch) | |
tree | c76134c36d131b2a7d7bca3e9108c3330c484051 | |
parent | 9bfb9896cb8dfcf97fa55efa07ba601591531586 (diff) | |
download | qt-creator-3066bb574c06c55593c857a37b444ec99a1c8fb1.tar.gz |
Removed m_oldName member from Configuration class.
Change-Id: I14dceb5a347a85f4a51b08cf00dfb856a727818a
Reviewed-by: Bojan Petrovic <bojan85@gmail.com>
-rw-r--r-- | src/plugins/vcprojectmanager/vcprojectmodel/configuration.cpp | 11 | ||||
-rw-r--r-- | src/plugins/vcprojectmanager/vcprojectmodel/configuration.h | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/plugins/vcprojectmanager/vcprojectmodel/configuration.cpp b/src/plugins/vcprojectmanager/vcprojectmodel/configuration.cpp index be3ad241c8..d1c327c439 100644 --- a/src/plugins/vcprojectmanager/vcprojectmodel/configuration.cpp +++ b/src/plugins/vcprojectmanager/vcprojectmodel/configuration.cpp @@ -93,7 +93,6 @@ void Configuration::processNodeAttributes(const QDomElement &element) if (domElement.name() == QLatin1String("Name")) { m_name = domElement.value(); - m_oldName = m_name; } else @@ -163,16 +162,6 @@ void Configuration::setName(const QString &name) emit nameChanged(); } -QString Configuration::oldName() const -{ - return m_oldName; -} - -void Configuration::setOldName(const QString &oldName) -{ - m_oldName = oldName; -} - QString Configuration::attributeValue(const QString &attributeName) const { return m_anyAttribute.value(attributeName); diff --git a/src/plugins/vcprojectmanager/vcprojectmodel/configuration.h b/src/plugins/vcprojectmanager/vcprojectmodel/configuration.h index 203238b50f..e77213a03b 100644 --- a/src/plugins/vcprojectmanager/vcprojectmodel/configuration.h +++ b/src/plugins/vcprojectmanager/vcprojectmodel/configuration.h @@ -68,8 +68,6 @@ public: QList<Tool::Ptr> tools() const; QString name() const; void setName(const QString &name); - QString oldName() const; - void setOldName(const QString &oldName); QString attributeValue(const QString &attributeName) const; void setAttribute(const QString &attributeName, const QString &attributeValue); void clearAttribute(const QString &attributeName); @@ -83,7 +81,6 @@ protected: virtual void processToolNode(const QDomNode &toolNode); QString m_name; - QString m_oldName; QString m_nodeName; QList<Tool::Ptr> m_tools; QHash<QString, QString> m_anyAttribute; |