Skip to content
Permalink
Browse files

indentation fixes

  • Loading branch information
jef-n committed Jun 19, 2015
1 parent b3c2bd7 commit 06443f31d3f2b0f56e1647ba5506db7f31112f05
@@ -69,7 +69,7 @@ int main( int argc, char ** argv )
gdalShares << QCoreApplication::applicationDirPath().append( "/share/gdal" )
<< appResources.append( "/share/gdal" )
<< appResources.append( "/gdal" );
Q_FOREACH( const QString& gdalShare, gdalShares )
Q_FOREACH ( const QString& gdalShare, gdalShares )
{
if ( QFile::exists( gdalShare ) )
{
@@ -81,7 +81,7 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
tab_2->setEnabled( false );
}

// select the first item in the function list
// select the first item in the function list
// in order to avoid a blank help widget
QModelIndex firstItem = mProxyModel->index( 0, 0, QModelIndex() );
expressionTree->setCurrentIndex( firstItem );
@@ -47,8 +47,8 @@ QgsHistogramWidget::QgsHistogramWidget( QWidget *parent, QgsVectorLayer* layer,
, mRedrawRequired( true )
, mVectorLayer( layer )
, mSourceFieldExp( fieldOrExp )
, mXAxisTitle( QObject::tr("Value"))
, mYAxisTitle( QObject::tr("Count"))
, mXAxisTitle( QObject::tr( "Value" ) )
, mYAxisTitle( QObject::tr( "Count" ) )
{
setupUi( this );

@@ -495,7 +495,7 @@ unsigned char* QgsMssqlGeometryParser::ParseSqlGeometry( unsigned char* pszInput

if ( chProps & SP_HASZVALUES && chProps & SP_HASMVALUES )
nPointSize = 32;
else if ( chProps & SP_HASZVALUES || chProps & SP_HASMVALUES)
else if ( chProps & SP_HASZVALUES || chProps & SP_HASMVALUES )
nPointSize = 24;
else
nPointSize = 16;
@@ -1359,7 +1359,7 @@ QgsCoordinateReferenceSystem QgsMssqlProvider::crs()
mCrs.createFromSrid( mSRId );
if ( mCrs.isValid() )
return mCrs;

// try to load crs from the database tables as a fallback
QSqlQuery query = QSqlQuery( mDatabase );
query.setForwardOnly( true );
@@ -470,7 +470,7 @@ QgsComposition* QgsWMSProjectParser::initComposition( const QString& composerTem
{
continue;
}

QgsLayerTreeLayer* nodeLayer = root->findLayer( layerId );
if ( !nodeLayer )
{

0 comments on commit 06443f3

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