Fixes a crash in Peruse triggered by baloo
Reviewers: Baloo, astippich, bruns, poboiko, ngraham
Reviewed By: Baloo, bruns, ngraham
Subscribers: ngraham, kde-frameworks-devel, Baloo
Tags: Frameworks, Baloo
Differential Revision: https://phabricator.kde.org/D23200