Fix crash in kmore tools on Windows

Review Request #127237 - Created March 1, 2016 and submitted - Latest diff uploaded

Information
Kåre Särs
knewstuff
Reviewers
kdeframeworks
gregormi
On Windows we sometimes get null-pointers in stead of pointers to KMoreToolsService. This patch adds checks for null-pointers in those places that made Kate crash in the project plugin and adds a nullptr check before adding them to the list.
Compiled and run on windows. No crashes in Kate when right-clicking files in the project plugin.
Loading...