qobject_cast rather than dynamic_cast

Authored by sitter on Jul 11 2019, 2:42 PM.

Description

qobject_cast rather than dynamic_cast

Summary:
doesn't require RTTI and is faster

(I am not sure why there are casts at all instead of pointer members...)

Test Plan: builds

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22403

Details

Committed
sitterJul 12 2019, 12:47 PM
Reviewer
Plasma
Differential Revision
D22403: qobject_cast rather than dynamic_cast
Parents
R871:a23fe3a38a30: remove UnhandledErrorDialog
Branches
Unknown
Tags
Unknown