mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Add stub preferences converter
Needs to be implemented like the rest of them. Contributes to issue CURA-844.
This commit is contained in:
parent
24946d3f13
commit
11d59709ef
1 changed files with 8 additions and 0 deletions
|
@ -35,6 +35,14 @@ class VersionUpgrade21to22(VersionUpgrade):
|
|||
return None
|
||||
return machine_instance.export()
|
||||
|
||||
## Converts preferences from format version 1 to version 2.
|
||||
#
|
||||
# \param serialised The serialised preferences file in version 1.
|
||||
# \return The serialised preferences in version 2, or None if the input
|
||||
# was not of the correct format.
|
||||
def upgradePreferences(self, serialised):
|
||||
return serialised #TODO
|
||||
|
||||
## Converts profiles from format version 1 to version 2.
|
||||
#
|
||||
# \param serialised The serialised profile in version 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue