diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-09-12 13:24:47 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-09-16 11:53:22 +0200 |
commit | 9e4cc1316f5185b3932f2ef093b5640092cb4e21 (patch) | |
tree | 27ec9e4b4fc93c79dca968ce6184bd2339b0f3f9 /src/plugins | |
parent | c8db57e6639f2452379b50b3b43f9d8aac5a04ac (diff) | |
download | qt-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')
-rw-r--r-- | src/plugins/coreplugin/variablemanager.cpp | 3 |
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; } |