[QGIS Commit] r10371 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Mar 21 13:30:37 EDT 2009
Author: macho
Date: 2009-03-21 13:30:37 -0400 (Sat, 21 Mar 2009)
New Revision: 10371
Modified:
trunk/qgis/src/app/qgsabout.cpp
Log:
added decoration for about box on non-MacOS
Modified: trunk/qgis/src/app/qgsabout.cpp
===================================================================
--- trunk/qgis/src/app/qgsabout.cpp 2009-03-21 17:15:08 UTC (rev 10370)
+++ trunk/qgis/src/app/qgsabout.cpp 2009-03-21 17:30:37 UTC (rev 10371)
@@ -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