diff --git a/python/core/qgslabel.sip b/python/core/qgslabel.sip index 1c5677044fb..96fb2f7d2f9 100644 --- a/python/core/qgslabel.sip +++ b/python/core/qgslabel.sip @@ -17,29 +17,29 @@ public: /* 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 @@ public: * @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 ); diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index f036836415e..c9810374e47 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -4243,6 +4243,8 @@ bool QgisApp::loadComposersFromProject( const QString& projectFilePath ) composer->showMinimized(); composer->zoomFull(); } + + return true; } void QgisApp::deletePrintComposers()