mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:49:10 +08:00
COM: Prevent splash screen, when Embedding is set.
So when dispatching our service we won't see any splash screen. Just like we want for headless applications.
This commit is contained in:
parent
85e84a5745
commit
11cf642a6e
@ -660,6 +660,8 @@ class CuraApplication(QtApplication):
|
|||||||
single_instance_socket.flush()
|
single_instance_socket.flush()
|
||||||
single_instance_socket.waitForDisconnected()
|
single_instance_socket.waitForDisconnected()
|
||||||
return False
|
return False
|
||||||
|
if parsed_command_line["Embedding"]:
|
||||||
|
self._splash_prevent = True
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user