a prototype, not used here for instant apply
on a desktop we will probably continue to have ok/apply/cancel buttons, on a ctive we will have instant apply, this commented code is a way to achieve this in a way that require no adaptation from the config pages whatsoever
This commit is contained in:
parent
0b6770e2b2
commit
ea710003fc
@ -169,6 +169,15 @@ Rectangle {
|
||||
replace(Qt.resolvedUrl(sourceFile))
|
||||
root.width = mainColumn.implicitWidth
|
||||
root.height = mainColumn.implicitHeight
|
||||
/*
|
||||
* This is not needed on a desktop shell that has ok/apply/cancel buttons, i'll leave it here only for future reference until we have a prototype for the active shell.
|
||||
* root.pageChanged will start a timer, that in turn will call saveConfig() when triggered
|
||||
|
||||
for (var prop in currentPage) {
|
||||
if (prop.indexOf("cfg_") === 0) {
|
||||
currentPage[prop+"Changed"].connect(root.pageChanged)
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user