QmlProfiler: Move to new settings setup also for project settings

Change-Id: I204f052ddbc2956ff3bca8e6faaf2f758e4fee17
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2023-07-20 09:09:47 +02:00
parent 012f926f7c
commit 81f8a3fd7d
7 changed files with 51 additions and 81 deletions

View File

@@ -86,11 +86,13 @@ GlobalOrProjectAspect::~GlobalOrProjectAspect()
void GlobalOrProjectAspect::setProjectSettings(ISettingsAspect *settings)
{
m_projectSettings = settings;
m_projectSettings->setAutoApply(true);
}
void GlobalOrProjectAspect::setGlobalSettings(ISettingsAspect *settings)
{
m_globalSettings = settings;
m_projectSettings->setAutoApply(false);
}
void GlobalOrProjectAspect::setUsingGlobalSettings(bool value)