QWidget: Fix unused parameter warning when there's no Graphics View.
Skip warning again.