Open new instance of Dolphin if no URLs are given
Summary:
BUG: 408387
BUG: 408244
FIXED-IN: 19.08.0
Currently Dolphin only opens a new instance of itself in the following two scenarios:
- No other Dolphin instances ( D21666 deals with not matching daemonized instances) are currently running.
- A new instance is explicitly asked for via: dolphin --new-window
A third scenario is needed to fix this bug:
- If no URLs are passed in as arguments then open a new instance.
This patch adds this third scenario.
Test Plan:
STEPS TO REPRODUCE
- Open Dolphin
- Right-click on Dolphin's Task Manager Entry and click "Start New Instance"
- A new instance is created.
As my system stuff is not built on master I am unable to replicate the bug (and can't confirm whether this fixes it), hence I'll rely on @ngraham to confirm whether this patch fixes the issue.
Reviewers: ngraham, elvisangelaccio
Reviewed By: ngraham, elvisangelaccio
Subscribers: elvisangelaccio, ngraham, kfm-devel
Tags: Dolphin
Differential Revision: https://phabricator.kde.org/D21691