KEmoticons: fix crash when loadProvider fails for some reason.

Review Request #127428 - Created March 19, 2016 and submitted

Information
David Faure
kemoticons
master
d53b481...
Reviewers
kdeframeworks
Noticed in the CI which says: Invalid plugin factory for "kf5/emoticonsthemes/kde"

Removing lib64/plugins/kf5/emoticonsthemes/kde.so locally, I got the crash too, this fixes it.

Of course the unittest fails then, as expected, it just doesn't crash anymore.

I think some env vars are missing in Jenkins....

Dominik Haumann
Allen Winter
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 5901b41b8ca431c6da5389d098aca6b7bc55b9eb by David Faure to branch master.
Loading...