Prevent session from being loaded with :restart.

This commit is contained in:
Florian Bruhin 2015-04-01 21:42:02 +02:00
parent 371ec564e1
commit 2ba28a59fe

View File

@ -701,6 +701,10 @@ class Application(QApplication):
argdict['url'] = []
argdict['command'] = page_args[:-1]
argdict['json_args'] = None
# Ensure a session does never get opened.
argdict['session'] = None
argdict['override_restore'] = True
# Dump the data
data = json.dumps(argdict)
args += ['--json-args', data]