use baseName rather than fileName.startsWith

Review Request #127421 - Created March 18, 2016 and submitted

Information
David Edmundson
libkscreen
814f558...
Reviewers
solid
sebas
xrandr1.1 and xrandr start with the same filepath, so the backend loaded
was picking up the wrong plugin when trying to find "xrandr".

  
David Edmundson
Sebastian Kügler
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 5e4189013a5efa49e7c7f48480adec5bd44d737a by David Edmundson to branch master.
Loading...