Commit 9393d18f authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix memory leak, delete EditorConfigurationPrivate



Change-Id: I23869f5669bf06b599454702b45d2b3140252935
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent 04094c27
...@@ -118,6 +118,7 @@ EditorConfiguration::EditorConfiguration() : d(new EditorConfigurationPrivate) ...@@ -118,6 +118,7 @@ EditorConfiguration::EditorConfiguration() : d(new EditorConfigurationPrivate)
EditorConfiguration::~EditorConfiguration() EditorConfiguration::~EditorConfiguration()
{ {
qDeleteAll(d->m_languageCodeStylePreferences.values()); qDeleteAll(d->m_languageCodeStylePreferences.values());
delete d;
} }
bool EditorConfiguration::useGlobalSettings() const bool EditorConfiguration::useGlobalSettings() const
......
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