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/synti/fluid/fluidgui.cpp | 2 +- muse2/synti/organ/organgui.cpp | 2 +- muse2/synti/vam/vamgui.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'muse2/synti') diff --git a/muse2/synti/fluid/fluidgui.cpp b/muse2/synti/fluid/fluidgui.cpp index e5677bcb..909b5086 100644 --- a/muse2/synti/fluid/fluidgui.cpp +++ b/muse2/synti/fluid/fluidgui.cpp @@ -29,7 +29,7 @@ //--------------------------------------------------------- FLUIDGui::FLUIDGui() - : FLUIDGuiBase(0, "fluidgui", Qt::WType_TopLevel), MessGui() + : FLUIDGuiBase(0, "fluidgui", Qt::Window), MessGui() { connect(fdialogButton, SIGNAL(clicked()), SLOT(soundFontFileDialog())); connect(loadButton, SIGNAL(clicked()), SLOT(loadFont())); diff --git a/muse2/synti/organ/organgui.cpp b/muse2/synti/organ/organgui.cpp index 2f68b655..43b754aa 100644 --- a/muse2/synti/organ/organgui.cpp +++ b/muse2/synti/organ/organgui.cpp @@ -34,7 +34,7 @@ //--------------------------------------------------------- OrganGui::OrganGui() - : OrganGuiBase(0, "organgui", Qt::WType_TopLevel), MessGui() + : OrganGuiBase(0, "organgui", Qt::Window), MessGui() { QSocketNotifier* s = new QSocketNotifier(readFd, QSocketNotifier::Read); connect(s, SIGNAL(activated(int)), SLOT(readMessage(int))); diff --git a/muse2/synti/vam/vamgui.cpp b/muse2/synti/vam/vamgui.cpp index 2a3a5e72..4d33d5d2 100644 --- a/muse2/synti/vam/vamgui.cpp +++ b/muse2/synti/vam/vamgui.cpp @@ -177,7 +177,7 @@ void Preset::writeConfiguration(Xml& xml, int level) //--------------------------------------------------------- VAMGui::VAMGui() - : VAMGuiBase(0, "vamgui", Qt::WType_TopLevel), + : VAMGuiBase(0, "vamgui", Qt::Window), MessGui() { QSocketNotifier* s = new QSocketNotifier(readFd, QSocketNotifier::Read); -- cgit v1.2.3