Commit 9e4cc131 authored by Tobias Hunger's avatar Tobias Hunger

VariableManager: Remove unused static variable

Change-Id: I7c53a91dec1e0a863f37d24787582a1ee1ba0adf
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent c8db57e6
...@@ -168,7 +168,6 @@ public: ...@@ -168,7 +168,6 @@ public:
*/ */
static VariableManager *variableManagerInstance = 0;
static VariableManagerPrivate *d; static VariableManagerPrivate *d;
/*! /*!
...@@ -177,7 +176,6 @@ static VariableManagerPrivate *d; ...@@ -177,7 +176,6 @@ static VariableManagerPrivate *d;
VariableManager::VariableManager() VariableManager::VariableManager()
{ {
d = new VariableManagerPrivate; d = new VariableManagerPrivate;
variableManagerInstance = this;
registerPrefix("Env", QCoreApplication::translate("Core::VariableManager", "Access environment variables."), registerPrefix("Env", QCoreApplication::translate("Core::VariableManager", "Access environment variables."),
[](const QString &value) [](const QString &value)
...@@ -189,7 +187,6 @@ VariableManager::VariableManager() ...@@ -189,7 +187,6 @@ VariableManager::VariableManager()
*/ */
VariableManager::~VariableManager() VariableManager::~VariableManager()
{ {
variableManagerInstance = 0;
delete d; delete d;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment