Merge pull request #482 from langerhans/1.7-dev-macfix

Enable splash to go into background on Mac
This commit is contained in:
langerhans 2014-04-20 18:47:19 +02:00
commit ace7c207fe

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*)));
}