mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:39:07 +08:00
Move all of Cura's QML files into a qml subdir
This commit is contained in:
parent
cfe29a7b51
commit
4a8f6beb26
@ -57,7 +57,7 @@ class PrinterApplication(QtApplication):
|
|||||||
self._plugin_registry.loadPlugins({ "type": "tool" })
|
self._plugin_registry.loadPlugins({ "type": "tool" })
|
||||||
|
|
||||||
self._plugin_registry.loadPlugin('CuraEngineBackend')
|
self._plugin_registry.loadPlugin('CuraEngineBackend')
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.showSplashMessage('Setting up scene...')
|
self.showSplashMessage('Setting up scene...')
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ class PrinterApplication(QtApplication):
|
|||||||
|
|
||||||
self.showSplashMessage('Loading interface...')
|
self.showSplashMessage('Loading interface...')
|
||||||
|
|
||||||
self.setMainQml(os.path.dirname(__file__) + "/Printer.qml")
|
self.setMainQml(os.path.dirname(__file__) + "/qml/Printer.qml")
|
||||||
self.initializeEngine()
|
self.initializeEngine()
|
||||||
|
|
||||||
self.getStorageDevice('LocalFileStorage').removableDrivesChanged.connect(self._removableDrivesChanged)
|
self.getStorageDevice('LocalFileStorage').removableDrivesChanged.connect(self._removableDrivesChanged)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user