forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user