[QGIS Commit] r10372 - branches/Version-1_0/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Mar 21 13:31:29 EDT 2009


Author: macho
Date: 2009-03-21 13:31:29 -0400 (Sat, 21 Mar 2009)
New Revision: 10372

Modified:
   branches/Version-1_0/src/app/qgsabout.cpp
Log:
decorations for about box back on non Mac-OS


Modified: branches/Version-1_0/src/app/qgsabout.cpp
===================================================================
--- branches/Version-1_0/src/app/qgsabout.cpp	2009-03-21 17:30:37 UTC (rev 10371)
+++ branches/Version-1_0/src/app/qgsabout.cpp	2009-03-21 17:31:29 UTC (rev 10372)
@@ -31,9 +31,13 @@
 #include "qgslogger.h"
 std::map<QString, QPixmap> mugs;
 */
-
+#ifdef Q_OS_MACX
 QgsAbout::QgsAbout()
     : QDialog( NULL, Qt::WindowSystemMenuHint )  // Modeless dialog with close button only
+#else
+QgsAbout::QgsAbout()
+    : QDialog( NULL )  // Normal dialog in non Mac-OS
+#endif
 {
   setupUi( this );
   init();



More information about the QGIS-commit mailing list