Fix re-parsing of command line arguments

Review Request #129217 - Created Oct. 19, 2016 and submitted

Martin Tobias Holmedahl Sandsmark

If a new Konsole instance is launched via DBus (e. g. single process mode), it re-used the QCommandLineParser each time, so each new instance would inherit all parsed options.

Most noticeably is if you have konsole running, press Shift+F4 in Dolphin to launch a Konsole instance in the current folder (which leads Konsole to use a temporary profile), and then try to open a new konsole instance outside of that, it would open in the folder from Dolphin.

Kurt Hindenburg
Martin Tobias Holmedahl Sandsmark
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 4ec9b565800b9e9bdbf45dbb5983530fb95791e7 by Martin T. H. Sandsmark to branch master.