[QGIS Commit] r11578 - in trunk/qgis/src: app core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Sep 6 17:32:17 EDT 2009


Author: jef
Date: 2009-09-06 17:32:16 -0400 (Sun, 06 Sep 2009)
New Revision: 11578

Modified:
   trunk/qgis/src/app/qgsprojectproperties.cpp
   trunk/qgis/src/core/qgsproject.cpp
Log:
fix build problems with Qt 4.4

Modified: trunk/qgis/src/app/qgsprojectproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsprojectproperties.cpp	2009-09-06 14:03:39 UTC (rev 11577)
+++ trunk/qgis/src/app/qgsprojectproperties.cpp	2009-09-06 21:32:16 UTC (rev 11578)
@@ -34,6 +34,7 @@
 
 //qt includes
 #include <QColorDialog>
+#include <QHeaderView>	// Qt 4.4
 #include "qgslogger.h"
 
 //stdc++ includes

Modified: trunk/qgis/src/core/qgsproject.cpp
===================================================================
--- trunk/qgis/src/core/qgsproject.cpp	2009-09-06 14:03:39 UTC (rev 11577)
+++ trunk/qgis/src/core/qgsproject.cpp	2009-09-06 21:32:16 UTC (rev 11578)
@@ -1361,7 +1361,7 @@
   projElems.removeLast();
 
   // append source path elements
-  projElems.append( srcElems );
+  projElems << srcElems;
   projElems.removeAll( "." );
 
   // resolve ..



More information about the QGIS-commit mailing list