Skip to content

Commit b4dedf9

Browse files
author
jef
committed
fix warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14768 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 150850a commit b4dedf9

File tree

6 files changed

+11
-2
lines changed

6 files changed

+11
-2
lines changed

src/app/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,18 @@ SET (QGIS_APP_MOC_HDRS
189189
qgsmaptooladdisland.h
190190
qgsmaptooladdring.h
191191
qgsmaptoolmovefeature.h
192+
qgsmaptoolmovelabel.h
192193
qgsmaptoolnodetool.h
193194
qgsmaptoolreshape.h
195+
qgsmaptoolrotatelabel.h
194196
qgsmaptoolrotatepointsymbols.h
195197
qgsmaptoolselect.h
196198
qgsmaptoolselectrectangle.h
197199
qgsmaptoolselectfreehand.h
198200
qgsmaptoolselectpolygon.h
199201
qgsmaptoolselectradius.h
200202
qgsmaptooladdvertex.h
203+
qgsmaptoolchangelabelproperties.h
201204
qgsmaptooldeletering.h
202205
qgsmaptooldeletepart.h
203206
qgsmaptooldeletevertex.h

src/app/qgsmaptoolchangelabelproperties.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
class QgsMapToolChangeLabelProperties: public QgsMapToolLabel
2424
{
25+
Q_OBJECT
26+
2527
public:
2628
QgsMapToolChangeLabelProperties( QgsMapCanvas* canvas );
2729
~QgsMapToolChangeLabelProperties();

src/app/qgsmaptoolmovelabel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
/**A map tool for dragging label positions*/
2424
class QgsMapToolMoveLabel: public QgsMapToolLabel
2525
{
26+
Q_OBJECT
27+
2628
public:
2729
QgsMapToolMoveLabel( QgsMapCanvas* canvas );
2830
~QgsMapToolMoveLabel();

src/app/qgsmaptoolrotatelabel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class QgsPointRotationItem;
2323

2424
class QgsMapToolRotateLabel: public QgsMapToolLabel
2525
{
26+
Q_OBJECT
27+
2628
public:
2729
QgsMapToolRotateLabel( QgsMapCanvas* canvas );
2830
~QgsMapToolRotateLabel();

src/app/qgsnewspatialitelayerdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ void QgsNewSpatialiteLayerDialog::initializeSpatialMetadata( sqlite3 *sqlite_han
223223
ret = sqlite3_exec( sqlite_handle, sql, NULL, NULL, &errMsg );
224224
if ( ret != SQLITE_OK )
225225
{
226-
QString errCause = tr( "Unable to initialize SpatialMetedata:\n" );
226+
QString errCause = tr( "Unable to initialize SpatialMetadata:\n" );
227227
errCause += QString::fromUtf8( errMsg );
228228
QMessageBox::warning( 0, tr( "SpatiaLite Database" ), errCause );
229229
sqlite3_free( errMsg );

src/plugins/offline_editing/offline_editing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ void QgsOfflineEditing::initializeSpatialMetadata( sqlite3 *sqlite_handle )
289289
ret = sqlite3_exec( sqlite_handle, sql, NULL, NULL, &errMsg );
290290
if ( ret != SQLITE_OK )
291291
{
292-
QString errCause = tr( "Unable to initialize SpatialMetedata:\n" );
292+
QString errCause = tr( "Unable to initialize SpatialMetadata:\n" );
293293
errCause += QString::fromUtf8( errMsg );
294294
showWarning( errCause );
295295
sqlite3_free( errMsg );

0 commit comments

Comments
 (0)