Call the variable differently. It clashes with the method name (QWidget::show()).