mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Preload theme in QtApplication
Fixes an error where theme was loaded before the engine is initialized CURA-6823
This commit is contained in:
parent
6a0fba060e
commit
07fb775ac1
1 changed files with 0 additions and 1 deletions
|
|
@ -871,7 +871,6 @@ class CuraApplication(QtApplication):
|
||||||
# Initialize QML engine
|
# Initialize QML engine
|
||||||
self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml"))
|
self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml"))
|
||||||
self._qml_import_paths.append(Resources.getPath(self.ResourceTypes.QmlFiles))
|
self._qml_import_paths.append(Resources.getPath(self.ResourceTypes.QmlFiles))
|
||||||
self.getTheme() # preload
|
|
||||||
self.showSplashMessage(self._i18n_catalog.i18nc("@info:progress", "Initialize engine..."))
|
self.showSplashMessage(self._i18n_catalog.i18nc("@info:progress", "Initialize engine..."))
|
||||||
self.initializeEngine()
|
self.initializeEngine()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue