Utils: Remove unused Environment functions

Change-Id: Idea6b1a126b1d4fe82b597e96ce447da9f546396
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2023-03-02 14:21:23 +01:00
parent 9673dc7cd4
commit b26e3a4501

View File

@@ -41,7 +41,6 @@ public:
void modify(const NameValueItems &items) { m_dict.modify(items); } void modify(const NameValueItems &items) { m_dict.modify(items); }
bool hasChanges() const; bool hasChanges() const;
void clear() { return m_dict.clear(); }
QStringList toStringList() const { return m_dict.toStringList(); } QStringList toStringList() const { return m_dict.toStringList(); }
QProcessEnvironment toProcessEnvironment() const; QProcessEnvironment toProcessEnvironment() const;
@@ -76,7 +75,6 @@ public:
QStringList expandVariables(const QStringList &input) const; QStringList expandVariables(const QStringList &input) const;
OsType osType() const { return m_dict.osType(); } OsType osType() const { return m_dict.osType(); }
QString userName() const;
using const_iterator = NameValueMap::const_iterator; // FIXME: avoid using const_iterator = NameValueMap::const_iterator; // FIXME: avoid
NameValueDictionary toDictionary() const { return m_dict; } // FIXME: avoid NameValueDictionary toDictionary() const { return m_dict; } // FIXME: avoid