Optimize if condition by checking state first and then using qobject_cast

Authored by broulik on Jul 7 2017, 12:15 PM.

Description

Optimize if condition by checking state first and then using qobject_cast

Suggested by cfeck

Details

Committed
broulikJul 7 2017, 12:15 PM
Parents
R31:89b916039387: Don't draw focus line on selected list item
Branches
Unknown
Tags
Unknown