CppTools: Use a plugin pimpl data member for CppToolsSettings

Change-Id: I05c2f8f34b88973fc916115f71c0557675396366
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-02-04 17:30:29 +01:00
parent cd9571b4f7
commit 7e326657e9
3 changed files with 4 additions and 6 deletions

View File

@@ -64,9 +64,8 @@ public:
CppToolsSettings *CppToolsSettings::m_instance = nullptr;
CppToolsSettings::CppToolsSettings(QObject *parent)
: QObject(parent)
, d(new Internal::CppToolsSettingsPrivate)
CppToolsSettings::CppToolsSettings()
: d(new Internal::CppToolsSettingsPrivate)
{
QTC_ASSERT(!m_instance, return);
m_instance = this;