CMake: Use setup functions for more plugin items

Change-Id: I48ff764248f29ef2a8f46757cba84705983c7740
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2024-01-29 14:59:59 +01:00
parent a615b236e5
commit d016ef67b3
7 changed files with 76 additions and 89 deletions

View File

@@ -271,11 +271,11 @@ public:
}
};
const CMakeFormatterSettingsPage settingsPage;
CMakeFormatter::CMakeFormatter()
void setupCMakeFormatter()
{
static const CMakeFormatterSettingsPage theCMakeFormatterSettingsPage;
formatterSettings();
}
};
} // CMakeProjectManager::Internal