diff options
| author | langerhans <[email protected]> | 2014-04-20 18:05:04 +0200 |
|---|---|---|
| committer | langerhans <[email protected]> | 2014-04-20 18:05:04 +0200 |
| commit | 10a7906bd0bb928d7f52a2257a23a2af51260cf6 (patch) | |
| tree | e2953c59fb57d41b5916e127c80e803a0ba4a7da /src | |
| parent | Merge pull request #481 from patricklodder/1.7-dev-maturity-depth (diff) | |
| download | discoin-10a7906bd0bb928d7f52a2257a23a2af51260cf6.tar.xz discoin-10a7906bd0bb928d7f52a2257a23a2af51260cf6.zip | |
Enable splash to go into background on Mac
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index b6442ed59..1bb4eaf4c 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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*))); } |