summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-09-12 13:24:47 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-09-16 11:53:22 +0200
commit9e4cc1316f5185b3932f2ef093b5640092cb4e21 (patch)
tree27ec9e4b4fc93c79dca968ce6184bd2339b0f3f9 /src/plugins/coreplugin
parentc8db57e6639f2452379b50b3b43f9d8aac5a04ac (diff)
downloadqt-creator-9e4cc1316f5185b3932f2ef093b5640092cb4e21.tar.gz
VariableManager: Remove unused static variable
Change-Id: I7c53a91dec1e0a863f37d24787582a1ee1ba0adf Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/coreplugin')
-rw-r--r--src/plugins/coreplugin/variablemanager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/coreplugin/variablemanager.cpp b/src/plugins/coreplugin/variablemanager.cpp
index ff1814c465..5b8d6484b0 100644
--- a/src/plugins/coreplugin/variablemanager.cpp
+++ b/src/plugins/coreplugin/variablemanager.cpp
@@ -168,7 +168,6 @@ public:
*/
-static VariableManager *variableManagerInstance = 0;
static VariableManagerPrivate *d;
/*!
@@ -177,7 +176,6 @@ static VariableManagerPrivate *d;
VariableManager::VariableManager()
{
d = new VariableManagerPrivate;
- variableManagerInstance = this;
registerPrefix("Env", QCoreApplication::translate("Core::VariableManager", "Access environment variables."),
[](const QString &value)
@@ -189,7 +187,6 @@ VariableManager::VariableManager()
*/
VariableManager::~VariableManager()
{
- variableManagerInstance = 0;
delete d;
}