mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Renmoved singleton Um.Application
CURA-7812
This commit is contained in:
parent
11aa71a5df
commit
d01b5c1767
3 changed files with 3 additions and 3 deletions
|
@ -1266,7 +1266,7 @@ class CuraApplication(QtApplication):
|
|||
self.processEvents()
|
||||
qmlRegisterType(DiscoveredPrintersModel, "Cura", 1, 0, "DiscoveredPrintersModel")
|
||||
qmlRegisterType(DiscoveredCloudPrintersModel, "Cura", 1, 7, "DiscoveredCloudPrintersModel")
|
||||
qmlRegisterType(QualityProfilesDropDownMenuModel, "Cura", 1, 0, "QualityProfilesDropDownMenuModel")
|
||||
qmlRegisterType(CustomQualityProfilesDropDownMenuModel, "Cura", 1, 0, "CustomQualityProfilesDropDownMenuModel")
|
||||
qmlRegisterType(NozzleModel, "Cura", 1, 0, "NozzleModel")
|
||||
qmlRegisterType(IntentModel, "Cura", 1, 6, "IntentModel")
|
||||
qmlRegisterType(IntentCategoryModel, "Cura", 1, 6, "IntentCategoryModel")
|
||||
|
|
|
@ -58,7 +58,7 @@ UM.Dialog
|
|||
UM.Label
|
||||
{
|
||||
id: version
|
||||
text: catalog.i18nc("@label","version: %1").arg(UM.Application.version)
|
||||
text: catalog.i18nc("@label","version: %1").arg(CuraApplication.applicationVersion())
|
||||
font: UM.Theme.getFont("large_bold")
|
||||
color: UM.Theme.getColor("button_text")
|
||||
anchors.right : logo.right
|
||||
|
|
|
@ -187,7 +187,7 @@ Popup
|
|||
//Add all the custom profiles.
|
||||
Repeater
|
||||
{
|
||||
model: CuraApplication.getCustomQualityProfilesDropDownMenuModel()
|
||||
model: Cura.CustomQualityProfilesDropDownMenuModel
|
||||
MenuButton
|
||||
{
|
||||
onClicked: Cura.MachineManager.setQualityChangesGroup(model.quality_changes_group)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue