From b26e3a45012788370083ab67b86897043abb0e3c Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 2 Mar 2023 14:21:23 +0100 Subject: [PATCH] Utils: Remove unused Environment functions Change-Id: Idea6b1a126b1d4fe82b597e96ce447da9f546396 Reviewed-by: Christian Kandeler Reviewed-by: Qt CI Bot Reviewed-by: --- src/libs/utils/environment.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libs/utils/environment.h b/src/libs/utils/environment.h index 52ac1db6286..1485dff2a12 100644 --- a/src/libs/utils/environment.h +++ b/src/libs/utils/environment.h @@ -41,7 +41,6 @@ public: void modify(const NameValueItems &items) { m_dict.modify(items); } bool hasChanges() const; - void clear() { return m_dict.clear(); } QStringList toStringList() const { return m_dict.toStringList(); } QProcessEnvironment toProcessEnvironment() const; @@ -76,7 +75,6 @@ public: QStringList expandVariables(const QStringList &input) const; OsType osType() const { return m_dict.osType(); } - QString userName() const; using const_iterator = NameValueMap::const_iterator; // FIXME: avoid NameValueDictionary toDictionary() const { return m_dict; } // FIXME: avoid