Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
@@ -67,7 +67,7 @@ Database::AvmTvcConfig toDb(const ModifyTvcConfigRequest &request)
|
||||
result.info = QString::fromStdString(request.info);
|
||||
result.recording = request.recording;
|
||||
result.tetraChannelId = request.tetraChannelId;
|
||||
if (request.exerciseId.is_set())
|
||||
if (request.exerciseId.has_value())
|
||||
result.exerciseId = request.exerciseId.get();
|
||||
|
||||
return result;
|
||||
@@ -427,7 +427,7 @@ void TvcHandler::onContextActivated(const ExerciseContext &context)
|
||||
|
||||
for (const TvcConfig &tvcConfig : std::as_const(m_cache))
|
||||
{
|
||||
bool isLocal = tvcConfig.exerciseId.is_set();
|
||||
bool isLocal = tvcConfig.exerciseId.has_value();
|
||||
if (isLocal)
|
||||
{
|
||||
if (tvcConfig.exerciseId == context.id())
|
||||
@@ -449,7 +449,7 @@ void TvcHandler::onContextDeactivated(const ExerciseContext &context)
|
||||
|
||||
for (const TvcConfig &tvcConfig : std::as_const(m_cache))
|
||||
{
|
||||
bool isLocal = tvcConfig.exerciseId.is_set();
|
||||
bool isLocal = tvcConfig.exerciseId.has_value();
|
||||
|
||||
if (isLocal)
|
||||
{
|
||||
@@ -535,7 +535,7 @@ bool TvcHandler::checkConstraint(const std::function<bool (const TvcConfig &)> &
|
||||
// If both configs are local the constraint must hold if they are in the same exercise
|
||||
// or when both exercises are currently active.
|
||||
// Otherwise (one or both are global) the constraint must always hold
|
||||
bool bothLocal = config.exerciseId.is_set() && exerciseId.is_initialized();
|
||||
bool bothLocal = config.exerciseId.has_value() && exerciseId.is_initialized();
|
||||
if (bothLocal)
|
||||
{
|
||||
bool sameExercise = config.exerciseId.get() == *exerciseId;
|
||||
@@ -557,7 +557,7 @@ bool TvcHandler::checkConstraint(const std::function<bool (const TvcConfig &)> &
|
||||
*/
|
||||
QString TvcHandler::exerciseList(const TvcConfig &config) const
|
||||
{
|
||||
bool isLocal = config.exerciseId.is_set();
|
||||
bool isLocal = config.exerciseId.has_value();
|
||||
if (isLocal)
|
||||
return ExerciseContext(config.exerciseId.get()).toString();
|
||||
|
||||
@@ -575,7 +575,7 @@ QString TvcHandler::exerciseList(const TvcConfig &config) const
|
||||
|
||||
bool TvcHandler::needDeviceConfig(const TvcConfig &config) const
|
||||
{
|
||||
bool isGlobal = !config.exerciseId.is_set();
|
||||
bool isGlobal = !config.exerciseId.has_value();
|
||||
bool hasActiveExericse = m_activeExercises->count() > 0;
|
||||
return (isGlobal && hasActiveExericse) || (!isGlobal && isActiveExercise(config.exerciseId.get()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user