mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix some warnings
This commit is contained in:
parent
dfaba7e16b
commit
743f207575
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user