In that case QWidget::setContextMenuPolicy() might be of some help to you.
You can try setting it to Qt::NoContextMenu and see what happens