Skip to content
Permalink
Browse files

fix some warnings

  • Loading branch information
jef-n committed Sep 29, 2011
1 parent dfaba7e commit 743f2075751cfcf93b2a6c14b09af5c93ee52530
@@ -11,7 +11,7 @@ QgsRendererV2Widget::QgsRendererV2Widget( QgsVectorLayer* layer, QgsStyleV2* sty
{
}

void QgsRendererV2Widget::contextMenuViewCategories( const QPoint& p )
void QgsRendererV2Widget::contextMenuViewCategories( const QPoint & )
{
QMenu contextMenu;
contextMenu.addAction( tr( "Change color" ), this, SLOT( changeSymbolColor( ) ) );
@@ -565,6 +565,9 @@ void QgsOgrProvider::setRelevantFields( bool fetchGeometry, const QgsAttributeLi

OGR_L_SetIgnoredFields( ogrLayer, ignoredFields.data() );
}
#else
Q_UNUSED( fetchGeometry );
Q_UNUSED( fetchAttributes );
#endif
}

@@ -4558,9 +4558,8 @@ void QgsPGRootItem::connectionsChanged()

QGISEXTERN QgsDataItem * dataItem( QString thePath, QgsDataItem* parentItem )
{
QgsPGRootItem * root = new QgsPGRootItem( parentItem, "PostGIS", "pg:" );

return root;
Q_UNUSED( thePath );
return new QgsPGRootItem( parentItem, "PostGIS", "pg:" );
}

QGISEXTERN QgsVectorLayerImport::ImportError createEmptyLayer(
@@ -43,7 +43,7 @@ void TestQgsApplication::initTestCase()
// init QGIS's paths - true means that all path will be inited from prefix
QString qgisPath = QCoreApplication::applicationDirPath();
QgsApplication::setPrefixPath( INSTALL_PREFIX, true );
qDebug( "%s", QgsApplication::showSettings().toUtf8() );
qDebug( "%s", QgsApplication::showSettings().toUtf8().constData() );
};

void TestQgsApplication::checkTheme()

0 comments on commit 743f207

Please sign in to comment.
You can’t perform that action at this time.