mainwindow.cpp: Use QWidget::grab instead of deprecated QPixmap:grabWidget