forked from qt-creator/qt-creator
Utils: Use value/setValue instead of settings also for TriStateAspects
Change-Id: I3d0a58917cd6682e14894e4320d166a1c8de6a9a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -249,7 +249,7 @@ bool DebuggerRunConfigurationAspect::useQmlDebugger() const
|
||||
// Try to find a build configuration to check whether qml debugging is enabled there
|
||||
if (BuildConfiguration *bc = m_target->activeBuildConfiguration()) {
|
||||
const auto aspect = bc->aspect<QtSupport::QmlDebuggingAspect>();
|
||||
return aspect && aspect->setting() == TriState::Enabled;
|
||||
return aspect && aspect->value() == TriState::Enabled;
|
||||
}
|
||||
|
||||
return !languages.contains(ProjectExplorer::Constants::CXX_LANGUAGE_ID);
|
||||
|
||||
Reference in New Issue
Block a user