summaryrefslogtreecommitdiff
path: root/muse2/muse/app.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-11-09 03:28:50 +0000
committerTim E. Real <termtech@rogers.com>2010-11-09 03:28:50 +0000
commit6f006e0573dc0ec5cef0de2e9de9e9b09e3283ea (patch)
treee05bb34516d9ae3928d24833f7301f13ebc4f570 /muse2/muse/app.cpp
parent8524da8e014372100b8ee4a579e3b8a4635c9a12 (diff)
Updated some window flags (stay on top, delete on close...)
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r--muse2/muse/app.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index f0d622b7..7f292feb 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -3518,7 +3518,8 @@ int main(int argc, char* argv[])
if (!splsh.isNull()) {
QSplashScreen* muse_splash = new QSplashScreen(splsh,
- Qt::WStyle_StaysOnTop | Qt::WDestructiveClose);
+ Qt::WindowStaysOnTopHint);
+ muse_splash->setAttribute(Qt::WA_DeleteOnClose); // Possibly also Qt::X11BypassWindowManagerHint
muse_splash->show();
QTimer* stimer = new QTimer(0);
muse_splash->connect(stimer, SIGNAL(timeout()), muse_splash, SLOT(close()));