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:
Thomas Karl Pietrowski 2017-12-08 15:43:28 +01:00
parent 85e84a5745
commit 11cf642a6e

View file

@ -660,6 +660,8 @@ class CuraApplication(QtApplication):
single_instance_socket.flush()
single_instance_socket.waitForDisconnected()
return False
if parsed_command_line["Embedding"]:
self._splash_prevent = True
return True
def run(self):