Tighter match own service when trying to find suitable window to open path in.

Authored by thomasp on Jun 3 2019, 7:52 PM.

Description

Tighter match own service when trying to find suitable window to open path in.

Summary:
Current implementation matches org.kde.dolphin-.*PID while trying to exclude itself from the list of running instances.
With this fix applied only org.kde.dolphin-PID is matched.

Test Plan: Open dolphin twice. Observe only one window.

Reviewers: feverfew, Dolphin, elvisangelaccio

Reviewed By: Dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: Dolphin

Differential Revision: https://phabricator.kde.org/D21547