Skip to content
Permalink
Browse files
fix warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14768 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 25, 2010
1 parent 150850a commit b4dedf9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
@@ -189,15 +189,18 @@ SET (QGIS_APP_MOC_HDRS
qgsmaptooladdisland.h
qgsmaptooladdring.h
qgsmaptoolmovefeature.h
qgsmaptoolmovelabel.h
qgsmaptoolnodetool.h
qgsmaptoolreshape.h
qgsmaptoolrotatelabel.h
qgsmaptoolrotatepointsymbols.h
qgsmaptoolselect.h
qgsmaptoolselectrectangle.h
qgsmaptoolselectfreehand.h
qgsmaptoolselectpolygon.h
qgsmaptoolselectradius.h
qgsmaptooladdvertex.h
qgsmaptoolchangelabelproperties.h
qgsmaptooldeletering.h
qgsmaptooldeletepart.h
qgsmaptooldeletevertex.h
@@ -22,6 +22,8 @@

class QgsMapToolChangeLabelProperties: public QgsMapToolLabel
{
Q_OBJECT

public:
QgsMapToolChangeLabelProperties( QgsMapCanvas* canvas );
~QgsMapToolChangeLabelProperties();
@@ -23,6 +23,8 @@
/**A map tool for dragging label positions*/
class QgsMapToolMoveLabel: public QgsMapToolLabel
{
Q_OBJECT

public:
QgsMapToolMoveLabel( QgsMapCanvas* canvas );
~QgsMapToolMoveLabel();
@@ -23,6 +23,8 @@ class QgsPointRotationItem;

class QgsMapToolRotateLabel: public QgsMapToolLabel
{
Q_OBJECT

public:
QgsMapToolRotateLabel( QgsMapCanvas* canvas );
~QgsMapToolRotateLabel();
@@ -223,7 +223,7 @@ void QgsNewSpatialiteLayerDialog::initializeSpatialMetadata( sqlite3 *sqlite_han
ret = sqlite3_exec( sqlite_handle, sql, NULL, NULL, &errMsg );
if ( ret != SQLITE_OK )
{
QString errCause = tr( "Unable to initialize SpatialMetedata:\n" );
QString errCause = tr( "Unable to initialize SpatialMetadata:\n" );
errCause += QString::fromUtf8( errMsg );
QMessageBox::warning( 0, tr( "SpatiaLite Database" ), errCause );
sqlite3_free( errMsg );
@@ -289,7 +289,7 @@ void QgsOfflineEditing::initializeSpatialMetadata( sqlite3 *sqlite_handle )
ret = sqlite3_exec( sqlite_handle, sql, NULL, NULL, &errMsg );
if ( ret != SQLITE_OK )
{
QString errCause = tr( "Unable to initialize SpatialMetedata:\n" );
QString errCause = tr( "Unable to initialize SpatialMetadata:\n" );
errCause += QString::fromUtf8( errMsg );
showWarning( errCause );
sqlite3_free( errMsg );

0 comments on commit b4dedf9

Please sign in to comment.