Fix crash in KonqView
Review Request #103176 - Created Nov. 17, 2011 and submitted
Though I cannot reproduce the bug given above, the backtrace attached to the report seems to show a NULL object is being accessed. This patch is intended to prevent such scenarios and in the process fix bugs like the one reported in bug# 285844.
OK ship it although it might mask off deeper troubles.
OK I can agree with returning an empty list if m_service == null however I also think we need to come up with reasons WHY m_service == null before serviceTypes() is called. From the original code it looks like m_service should always be initialized beforehand, so why is it that that did not happen for that particular website. Maybe an errormessage is in order?