Check activeModule before using it

Authored by wbauer on Feb 16 2020, 5:05 PM.

Description

Check activeModule before using it

activeModule can be a nullptr here, as this is outside/after the
if (activeModule).
This causes kontact to crash when opening its settings.

BUG: 417396
FIXED-IN: 5.68.0
Differential Revision: https://phabricator.kde.org/D27433

Details

Committed
wbauerFeb 16 2020, 5:05 PM
Differential Revision
D27433: Check activeModule before using it
Parents
R295:8315452ebfb1: GIT_SILENT: qtcreator created .cmake/ repo.
Branches
Unknown
Tags
Unknown