Try to fix KDiagram on MacOS

Authored by wojnilowicz on Oct 16 2018, 6:57 PM.