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

VariableManager: Remove unused static variable



Change-Id: I7c53a91dec1e0a863f37d24787582a1ee1ba0adf
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent c8db57e6
......@@ -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;
}
......
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