Fixup for 'Qt5: don't create Nitpicker views for desktop widgets'

Issue #1163.