Skip to content
Permalink
Browse files
indentation updates
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9184 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 27, 2008
1 parent 9dbe4f5 commit 8e602a64dfcb9b52d78df2ed5e25b616dee6af07
Showing with 9 additions and 9 deletions.
  1. +5 −5 src/app/composer/qgscomposermapwidget.cpp
  2. +4 −4 src/providers/wms/qgswmsprovider.cpp
@@ -98,10 +98,10 @@ void QgsComposerMapWidget::on_mPreviewModeComboBox_activated( int i )
return;
}

if(mComposerMap->isDrawing())
{
return;
}
if ( mComposerMap->isDrawing() )
{
return;
}

QString comboText = mPreviewModeComboBox->currentText();
if ( comboText == tr( "Cache" ) )
@@ -205,7 +205,7 @@ void QgsComposerMapWidget::updateGuiElements()
QRectF composerMapRect = mComposerMap->rect();
mWidthLineEdit->setText( QString::number( composerMapRect.width() ) );
mHeightLineEdit->setText( QString::number( composerMapRect.height() ) );
mScaleLineEdit->setText( QString::number( mComposerMap->scale(), 'f', 0) );
mScaleLineEdit->setText( QString::number( mComposerMap->scale(), 'f', 0 ) );

//preview mode
QgsComposerMap::PreviewMode previewMode = mComposerMap->previewMode();
@@ -374,10 +374,10 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
// compose the URL query string for the WMS server.

QString crsKey = "SRS"; //SRS in 1.1.1 and CRS in 1.3.0
if ( mCapabilities.version == "1.3.0" || mCapabilities.version == "1.3")
{
crsKey = "CRS";
}
if ( mCapabilities.version == "1.3.0" || mCapabilities.version == "1.3" )
{
crsKey = "CRS";
}

QString url = baseUrl;

0 comments on commit 8e602a6

Please sign in to comment.