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:
@@ -1,9 +1,9 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "qmlprofilerconstants.h"
|
||||
#include "qmlprofilerplugin.h"
|
||||
#include "qmlprofilerrunconfigurationaspect.h"
|
||||
|
||||
#include "qmlprofilerconstants.h"
|
||||
#include "qmlprofilersettings.h"
|
||||
#include "qmlprofilertr.h"
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace QmlProfiler::Internal {
|
||||
QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect(ProjectExplorer::Target *)
|
||||
{
|
||||
setProjectSettings(new QmlProfilerSettings);
|
||||
setGlobalSettings(QmlProfilerPlugin::globalSettings());
|
||||
setGlobalSettings(&Internal::globalSettings());
|
||||
setId(Constants::SETTINGS);
|
||||
setDisplayName(Tr::tr("QML Profiler Settings"));
|
||||
setUsingGlobalSettings(true);
|
||||
|
||||
Reference in New Issue
Block a user