Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14768 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 25, 2010
1 parent 86af48d commit 067dc22
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/app/CMakeLists.txt
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/app/qgsmaptoolchangelabelproperties.h
Expand Up @@ -22,6 +22,8 @@

class QgsMapToolChangeLabelProperties: public QgsMapToolLabel
{
Q_OBJECT

public:
QgsMapToolChangeLabelProperties( QgsMapCanvas* canvas );
~QgsMapToolChangeLabelProperties();
Expand Down
2 changes: 2 additions & 0 deletions src/app/qgsmaptoolmovelabel.h
Expand Up @@ -23,6 +23,8 @@
/**A map tool for dragging label positions*/
class QgsMapToolMoveLabel: public QgsMapToolLabel
{
Q_OBJECT

public:
QgsMapToolMoveLabel( QgsMapCanvas* canvas );
~QgsMapToolMoveLabel();
Expand Down
2 changes: 2 additions & 0 deletions src/app/qgsmaptoolrotatelabel.h
Expand Up @@ -23,6 +23,8 @@ class QgsPointRotationItem;

class QgsMapToolRotateLabel: public QgsMapToolLabel
{
Q_OBJECT

public:
QgsMapToolRotateLabel( QgsMapCanvas* canvas );
~QgsMapToolRotateLabel();
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsnewspatialitelayerdialog.cpp
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/offline_editing/offline_editing.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 067dc22

Please sign in to comment.