Skip to content

Commit fc22bf1

Browse files
committedFeb 18, 2015
identation update
1 parent 1f0f39b commit fc22bf1

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed
 

‎src/app/composer/qgscomposerattributetablewidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ void QgsComposerAttributeTableWidget::updateRelationsCombo()
575575
if ( atlasLayer )
576576
{
577577
QList<QgsRelation> relations = QgsProject::instance()->relationManager()->referencedRelations( atlasLayer );
578-
Q_FOREACH( const QgsRelation& relation, relations )
578+
Q_FOREACH ( const QgsRelation& relation, relations )
579579
{
580580
mRelationsComboBox->addItem( relation.name(), relation.id() );
581581
}

‎src/gui/qgsmapcanvas.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
674674

675675
QgsPreviewEffect* mPreviewEffect;
676676

677-
QgsRectangle imageRect(const QImage& img , const QgsMapSettings& mapSettings );
677+
QgsRectangle imageRect( const QImage& img, const QgsMapSettings& mapSettings );
678678

679679
QgsSnappingUtils* mSnappingUtils;
680680

‎tests/bench/qgsbench.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ QString QgsBench::serialize( QMap<QString, QVariant> theMap, int level )
315315
QMap<QString, QVariant>::const_iterator i = theMap.constBegin();
316316
while ( i != theMap.constEnd() )
317317
{
318-
switch ( (QMetaType::Type)i.value().type() )
318+
switch (( QMetaType::Type )i.value().type() )
319319
{
320320
case QMetaType::Int:
321321
list.append( space2 + "\"" + i.key() + "\": " + QString( "%1" ).arg( i.value().toInt() ) );

‎tests/src/python/test_qgsdoccoverage.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ def elemIsDocumentableClass(elem):
4444

4545
def elemIsDocumentableMember(elem):
4646
if elem.get('kind') == 'variable':
47-
return False
47+
return False
4848

4949
#only public or protected members should be documented
5050
if not elem.get('prot') in ('public','protected'):
51-
return False
51+
return False
5252

5353
#ignore reimplemented methods
5454
#use two different tests, as doxygen will not detect reimplemented qt methods
@@ -120,4 +120,3 @@ def testCoverage(self):
120120

121121
if __name__ == '__main__':
122122
unittest.main()
123-

0 commit comments

Comments
 (0)
Please sign in to comment.