[XWindowTasksModel] Check for service being empty before searching new ones

Authored by broulik on Nov 8 2016, 2:13 PM.

Description

[XWindowTasksModel] Check for service being empty before searching new ones

If our regular expression matching found a service but there was also some non-regular expression rule in the file,
it would overwrite a potentially valid service match.

CCBUG: 372211

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