Merge #12074: [qt] Optimizes boolean expression model && model->haveWatchOnly()