Skip to content

Commit 91f371b

Browse files
committedMay 21, 2014
fix warnings
1 parent c169842 commit 91f371b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎src/core/qgsproject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ class CORE_EXPORT QgsProject : public QObject
333333
QgsRelationManager* relationManager() const;
334334

335335
/** Return pointer to the root (invisible) node of the project's layer tree
336-
* @node added in 2.4 */
336+
* @note added in 2.4 */
337337
QgsLayerTreeGroup* layerTreeRoot() const;
338338

339339
/** Return pointer to the helper class that synchronizes map layer registry with layer tree */

‎src/core/qgsvectorlayercache.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,14 @@ class CORE_EXPORT QgsVectorLayerCache : public QObject
7979

8080
public:
8181
QgsVectorLayerCache( QgsVectorLayer* layer, int cacheSize, QObject* parent = NULL );
82+
~QgsVectorLayerCache();
8283

8384
/**
8485
* Sets the maximum number of features to keep in the cache. Some features will be removed from
8586
* the cache if the number is smaller than the previous size of the cache.
8687
*
8788
* @param cacheSize indicates the maximum number of features to keep in the cache
8889
*/
89-
90-
~QgsVectorLayerCache();
91-
9290
void setCacheSize( int cacheSize );
9391

9492
/**

‎src/gui/qgscolorbutton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void QgsColorButton::mouseMoveEvent( QMouseEvent *e )
185185
//set as drag pixmap
186186
drag->setPixmap( QPixmap::fromImage( colorImage ) );
187187

188-
Qt::DropAction dropAction = drag->exec( Qt::CopyAction | Qt::MoveAction );
188+
drag->exec( Qt::CopyAction | Qt::MoveAction );
189189
setDown( false );
190190
}
191191

‎src/mapserver/qgswfsprojectparser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,8 @@ QStringList QgsWFSProjectParser::wfsLayers() const
551551

552552
QList<QgsMapLayer*> QgsWFSProjectParser::mapLayerFromTypeName( const QString& aTypeName, bool useCache ) const
553553
{
554+
Q_UNUSED( useCache );
555+
554556
QList<QgsMapLayer*> layerList;
555557
const QList<QDomElement>& projectLayerElements = mProjectParser.projectLayerElements();
556558

0 commit comments

Comments
 (0)
Please sign in to comment.