Commit e2fa2d71 authored by Christian Kandeler's avatar Christian Kandeler Committed by Tobias Hunger

QbsProjectManager: Clean up qbs::Preferences object.

Change-Id: I5921b97b42a94aaa9c06d47f8581538c12c4fcab
Reviewed-by: default avatarTobias Hunger <>
parent 6cc396ef
......@@ -60,9 +60,7 @@ QbsManager::QbsManager(Internal::QbsProjectManagerPlugin *plugin) :
m_defaultPropertyProvider(new DefaultPropertyProvider)
if (!m_settings)
m_settings = new qbs::Settings(QLatin1String("QtProject"), QLatin1String("qbs"));
if (!m_preferences)
m_preferences = new qbs::Preferences(m_settings);
......@@ -89,6 +87,7 @@ QbsManager::~QbsManager()
delete m_defaultPropertyProvider;
delete m_settings;
delete m_preferences;
QString QbsManager::mimeType() 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