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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Nov 1 11:32:40 EST 2009


Author: jef
Date: 2009-11-01 11:32:39 -0500 (Sun, 01 Nov 2009)
New Revision: 11878

Modified:
   trunk/qgis/python/core/qgslabel.sip
   trunk/qgis/src/app/qgisapp.cpp
Log:
fix SIP build error and a warning

Modified: trunk/qgis/python/core/qgslabel.sip
===================================================================
--- trunk/qgis/python/core/qgslabel.sip	2009-11-01 06:53:31 UTC (rev 11877)
+++ trunk/qgis/python/core/qgslabel.sip	2009-11-01 16:32:39 UTC (rev 11878)
@@ -17,29 +17,29 @@
 
     /* Fields */
     enum LabelField {
-  Text = 0,
-  Family,
-  Size,
-  Bold,
-  Italic,
-  Underline,
-  Color,
-  XCoordinate,
-  YCoordinate,
-  XOffset,
-  YOffset,
-  Angle,
-  Alignment,
-  BufferEnabled,
-  BufferSize,
-  BufferColor,
-  BufferBrush,
-  BorderWidth,
-  BorderColor,
-  BorderStyle,
-  MultilineEnabled,
-  LabelFieldCount
-};
+      Text = 0,
+      Family,
+      Size,
+      Bold,
+      Italic,
+      Underline,
+      Color,
+      XCoordinate,
+      YCoordinate,
+      XOffset,
+      YOffset,
+      Angle,
+      Alignment,
+      BufferEnabled,
+      BufferSize,
+      BufferColor,
+      BufferBrush,
+      BorderWidth,
+      BorderColor,
+      BorderStyle,
+      MultilineEnabled,
+      LabelFieldCount
+    };
 
     struct labelpoint {
       QgsPoint p;
@@ -85,13 +85,13 @@
      * @note this will be deprecated in version 2 as it is 
      * badly named. Rather use attributes.
      * @see labelAttributes method rather */
-    QgsLabelAttributes *layerAttributes( void );
+    QgsLabelAttributes *layerAttributes( );
 
     /** Pointer to default attributes.
      * @note this replaces the to-be-deprecated layerAttributes method.
      * @note introduced in QGIS 1.4
      */
-    QgsLabelAttributes *labelAttributes( void );
+    QgsLabelAttributes *labelAttributes( );
 
     //! Set label field
     void setLabelField ( int attr, int fieldId );

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-11-01 06:53:31 UTC (rev 11877)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-11-01 16:32:39 UTC (rev 11878)
@@ -4243,6 +4243,8 @@
     composer->showMinimized();
     composer->zoomFull();
   }
+
+  return true;
 }
 
 void QgisApp::deletePrintComposers()



More information about the QGIS-commit mailing list