mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix QML warnings due to depricated on<signal> calls in Connections
As of 5.12, the signals used in connections should not be declared as on<signal>, but as function on<signal>(arguments).
This commit is contained in:
parent
a277adae64
commit
7827b36ab7
46 changed files with 113 additions and 122 deletions
|
@ -169,7 +169,7 @@ Item
|
|||
Connections
|
||||
{
|
||||
target: Cura.Actions.newProject
|
||||
onTriggered:
|
||||
function onTriggered()
|
||||
{
|
||||
if(Printer.platformActivity || Cura.MachineManager.hasUserSettings)
|
||||
{
|
||||
|
@ -182,7 +182,7 @@ Item
|
|||
Connections
|
||||
{
|
||||
target: Cura.Actions.browsePackages
|
||||
onTriggered:
|
||||
function onTriggered()
|
||||
{
|
||||
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ Item
|
|||
Connections
|
||||
{
|
||||
target: Cura.Actions.marketplaceMaterials
|
||||
onTriggered:
|
||||
function onTriggered()
|
||||
{
|
||||
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
||||
curaExtensions.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue