mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 11:49:01 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
c195928c09
@ -342,7 +342,6 @@ class CuraApplication(QtApplication):
|
|||||||
|
|
||||||
@pyqtSlot(str, result = QUrl)
|
@pyqtSlot(str, result = QUrl)
|
||||||
def getDefaultPath(self, key):
|
def getDefaultPath(self, key):
|
||||||
#return QUrl.fromLocalFile(os.path.expanduser("~/"))
|
|
||||||
default_path = Preferences.getInstance().getValue("local_file/%s" % key)
|
default_path = Preferences.getInstance().getValue("local_file/%s" % key)
|
||||||
return QUrl.fromLocalFile(default_path)
|
return QUrl.fromLocalFile(default_path)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user