Pass "is_debug_mode" flag to Application

CURA-4539
This commit is contained in:
Lipu Fei 2017-11-29 14:00:32 +01:00
parent 0668f80792
commit b7fed81fc1

View File

@ -205,7 +205,9 @@ class CuraApplication(QtApplication):
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,
is_debug_mode = is_debug_mode,
tray_icon_name = "cura-icon-32.png")
self.default_theme = "cura-light"