This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/117436/

Review request for Baloo.
By Lindsay Mathieson.

Updated April 12, 2014, 8:09 a.m.

Changes

Less kludgy implementation of homePath()
Repository: baloo

Description

Part of the KCM code assumes the users home dir is under "/home", which is not always the cause in linux - e.g OpenSUSE with AD Authentication uses a /home/DOMAIN hierarchy. Other systems use /opt. Not to mention windows etc.

The code adds a function homeRoot() which returns the parent directory of the uses home directory.

Testing

Built, installed. Adding paths to the exclude lists still recognise the home root.

Diffs (updated)

  • src/file/kcm/folderselectionwidget.cpp (bc87a33)

View Diff