Enable splash to go into background on Mac

This commit is contained in:
langerhans 2014-04-20 18:05:04 +02:00
parent de7c3d8bf8
commit 10a7906bd0

View file

@ -324,6 +324,10 @@ void BitcoinApplication::createSplashScreen(bool isaTestNet)
{
SplashScreen *splash = new SplashScreen(QPixmap(), 0, isaTestNet);
splash->setAttribute(Qt::WA_DeleteOnClose);
#if MAC_OSX
// QSplashScreen on Mac seems to always stay on top. Ugh.
splash->setWindowFlags(Qt::FramelessWindowHint);
#endif
splash->show();
connect(this, SIGNAL(splashFinished(QWidget*)), splash, SLOT(slotFinish(QWidget*)));
}