Qt5->Qt6: GUI-attributes and flips params register singletons.

part of CURA-8591
This commit is contained in:
Remco Burema 2021-12-28 18:36:28 +01:00
parent b62e708b87
commit 6dc6020217
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
3 changed files with 20 additions and 20 deletions

View file

@ -24,5 +24,5 @@ def createSimulationViewProxy(engine, script_engine):
def register(app):
simulation_view = SimulationView.SimulationView()
qmlRegisterSingletonType(SimulationViewProxy.SimulationViewProxy, "UM", 1, 0, "SimulationView", simulation_view.getProxy)
qmlRegisterSingletonType(SimulationViewProxy.SimulationViewProxy, "UM", 1, 0, simulation_view.getProxy, "SimulationView")
return { "view": simulation_view}