message: MainWindow::closeEvent(): remove a dubious isVisible() check
  Manually cherry-picked from PR
diff: @@ -315,7 +315,6 @@ bool MainWindow::event(QEvent* event)
  void MainWindow::closeEvent(QCloseEvent* event)
  {
  - if (isVisible()) {
  saveState();
  d.save = false;
  @@ -329,7 +328,6 @@ void MainWindow::closeEvent(QCloseEvent* event)
  event->ignore();
  QTimer::singleShot(1000, qApp, SLOT(quit()));
  }
  -}
  void MainWindow::showEvent(QShowEvent* event)
  {
  