mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue