Blob Blame History Raw
diff -rupN qsynth-0.3.3.old/src/main.cpp qsynth-0.3.3/src/main.cpp
--- qsynth-0.3.3.old/src/main.cpp	2008-07-10 13:11:48.000000000 -0400
+++ qsynth-0.3.3/src/main.cpp	2009-04-06 22:06:07.000000000 -0400
@@ -260,6 +260,9 @@ int main ( int argc, char **argv )
 	Qt::WindowFlags wflags = Qt::Window
 #if QT_VERSION >= 0x040200
 		| Qt::CustomizeWindowHint
+#if QT_VERSION >= 0x040500
+	        | Qt::WindowCloseButtonHint
+#endif
 #endif
 		| Qt::WindowTitleHint
 		| Qt::WindowSystemMenuHint
diff -rupN qsynth-0.3.3.old/src/qsynthMainForm.cpp qsynth-0.3.3/src/qsynthMainForm.cpp
--- qsynth-0.3.3.old/src/qsynthMainForm.cpp	2008-07-01 10:04:41.000000000 -0400
+++ qsynth-0.3.3/src/qsynthMainForm.cpp	2009-04-06 22:05:12.000000000 -0400
@@ -544,6 +544,9 @@ void qsynthMainForm::setup ( qsynthOptio
 	Qt::WindowFlags wflags = Qt::Window
 #if QT_VERSION >= 0x040200
  		| Qt::CustomizeWindowHint
+#if QT_VERSION >= 0x040500
+	  | Qt::WindowCloseButtonHint
+#endif
 #endif
 		| Qt::WindowTitleHint
 		| Qt::WindowSystemMenuHint