[ViewProperties] Check part of home first before doing file system stuff

Authored by broulik on Sep 17 2018, 2:02 PM.

Description

[ViewProperties] Check part of home first before doing file system stuff

There's no point in creating a QFileInfo instance and checking for file properties if we're not going to do anything with it
when not inside home.

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