From 6f006e0573dc0ec5cef0de2e9de9e9b09e3283ea Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Tue, 9 Nov 2010 03:28:50 +0000 Subject: Updated some window flags (stay on top, delete on close...) --- muse2/muse/app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'muse2/muse/app.cpp') 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())); -- cgit v1.2.3