Skip to content
Permalink
Browse files
fix warnings
  • Loading branch information
jef-n committed May 21, 2014
1 parent c169842 commit 91f371bb158a641b56c6dfb2fb9c35c41fc130a7
@@ -333,7 +333,7 @@ class CORE_EXPORT QgsProject : public QObject
QgsRelationManager* relationManager() const;

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

/** Return pointer to the helper class that synchronizes map layer registry with layer tree */
@@ -79,16 +79,14 @@ class CORE_EXPORT QgsVectorLayerCache : public QObject

public:
QgsVectorLayerCache( QgsVectorLayer* layer, int cacheSize, QObject* parent = NULL );
~QgsVectorLayerCache();

/**
* Sets the maximum number of features to keep in the cache. Some features will be removed from
* the cache if the number is smaller than the previous size of the cache.
*
* @param cacheSize indicates the maximum number of features to keep in the cache
*/

~QgsVectorLayerCache();

void setCacheSize( int cacheSize );

/**
@@ -185,7 +185,7 @@ void QgsColorButton::mouseMoveEvent( QMouseEvent *e )
//set as drag pixmap
drag->setPixmap( QPixmap::fromImage( colorImage ) );

Qt::DropAction dropAction = drag->exec( Qt::CopyAction | Qt::MoveAction );
drag->exec( Qt::CopyAction | Qt::MoveAction );
setDown( false );
}

@@ -551,6 +551,8 @@ QStringList QgsWFSProjectParser::wfsLayers() const

QList<QgsMapLayer*> QgsWFSProjectParser::mapLayerFromTypeName( const QString& aTypeName, bool useCache ) const
{
Q_UNUSED( useCache );

QList<QgsMapLayer*> layerList;
const QList<QDomElement>& projectLayerElements = mProjectParser.projectLayerElements();

0 comments on commit 91f371b

Please sign in to comment.