4 changes: 2 additions & 2 deletions src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, i

if ( mInvertAxisOrientation )
changeXY = !changeXY;

// 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" )
Expand Down Expand Up @@ -1044,7 +1044,7 @@ void QgsWmsProvider::tileReplyFinished()
.arg( status.toString() )
.arg( contentType )
.arg( text.size() )
.arg( reply->url().toString() ), tr( "WMS" ) );
.arg( reply->url().toString() ), tr( "WMS" ) );
#ifdef QGISDEBUG
QFile file( QDir::tempPath() + "/broken-image.png" );
if ( file.open( QIODevice::WriteOnly ) )
Expand Down
4 changes: 2 additions & 2 deletions src/providers/wms/qgswmtsdimensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ QgsWmtsDimensions::QgsWmtsDimensions( const QgsWmtsTileLayer &layer, QWidget *pa

mDimensions->setRowCount( dims.size() );

for( int i = 0; i < mDimensions->rowCount(); i++ )
for ( int i = 0; i < mDimensions->rowCount(); i++ )
{
const QgsWmtsDimension &d = layer.dimensions[ dims[i] ];

Expand Down Expand Up @@ -65,7 +65,7 @@ void QgsWmtsDimensions::selectedDimensions( QHash<QString, QString> &selected )
{
selected.clear();

for( int i = 0; i<mDimensions->rowCount(); i++ )
for ( int i = 0; i < mDimensions->rowCount(); i++ )
{
QComboBox *cb = qobject_cast< QComboBox * >( mDimensions->cellWidget( i, 4 ) );
Q_ASSERT( cb );
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmtsdimensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class QgsWmtsDimensions : public QDialog, private Ui::QgsWmtsDimensionsBase
//! Destructor
~QgsWmtsDimensions();

void selectedDimensions( QHash<QString, QString> &dims );
void selectedDimensions( QHash<QString, QString> &dims );

void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
};
Expand Down
2 changes: 1 addition & 1 deletion src/python/qgspythonutilsimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ QString QgsPythonUtilsImpl::pluginsPath()
QString QgsPythonUtilsImpl::homePythonPath()
{
QString settingsDir = QgsApplication::qgisSettingsDirPath();
if( settingsDir == QDir::homePath() + "/.qgis/" )
if ( settingsDir == QDir::homePath() + "/.qgis/" )
{
return "os.path.expanduser(\"~/.qgis/python\")";
}
Expand Down