Skip to content

Commit

Permalink
Splash screen: delete ourselves rather than closing ourselves (#2265).
Browse files Browse the repository at this point in the history
Since we can't close ourselves anymore.
  • Loading branch information
agarny committed Dec 19, 2019
1 parent 9c63f0a commit 60006cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/splashscreenwindow.cpp
Expand Up @@ -153,9 +153,9 @@ void SplashScreenWindow::closeAndDeleteAfter(QWidget *pWindow)
#endif
}

// Close ourselves with a bit of a delay
// Delete ourselves with a bit of a delay

QTimer::singleShot(500, this, &SplashScreenWindow::close);
QTimer::singleShot(500, this, &SplashScreenWindow::deleteLater);
}

//==============================================================================
Expand Down

0 comments on commit 60006cd

Please sign in to comment.