QtConcurrent::run
and QFutureWatcher
throughout the codebase.QPointer
to safely guard access to any QObject (Host
, dialogs, etc.) in lambdas, ensuring the lambda checks if the object is still alive before accessing it.QFutureWatcher
instances to the relevant QObject, so they are auto-deleted if the parent is destroyed.Host.cpp
)XMLexport.cpp
)dlgPackageExporter.cpp
)dlgProfilePreferences.cpp
)QPointer
to check object validity before accessing members.QFutureWatcher
objects are parented to the relevant QObject, ensuring proper cleanup.Luffy
@luffy-orf
Mudlet
@Mudlet