mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 20:50:37 +08:00
Pass "is_debug_mode" flag to Application
CURA-4539
This commit is contained in:
parent
0668f80792
commit
b7fed81fc1
@ -205,7 +205,9 @@ class CuraApplication(QtApplication):
|
|||||||
|
|
||||||
self._additional_components = {} # Components to add to certain areas in the interface
|
self._additional_components = {} # Components to add to certain areas in the interface
|
||||||
|
|
||||||
|
is_debug_mode = CuraBuildType.strip().lower() == "debug"
|
||||||
super().__init__(name = "cura", version = CuraVersion, buildtype = CuraBuildType,
|
super().__init__(name = "cura", version = CuraVersion, buildtype = CuraBuildType,
|
||||||
|
is_debug_mode = is_debug_mode,
|
||||||
tray_icon_name = "cura-icon-32.png")
|
tray_icon_name = "cura-icon-32.png")
|
||||||
|
|
||||||
self.default_theme = "cura-light"
|
self.default_theme = "cura-light"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user