Skip to content

Commit

Permalink
identation update
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 18, 2015
1 parent 1f0f39b commit fc22bf1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposerattributetablewidget.cpp
Expand Up @@ -575,7 +575,7 @@ void QgsComposerAttributeTableWidget::updateRelationsCombo()
if ( atlasLayer )
{
QList<QgsRelation> relations = QgsProject::instance()->relationManager()->referencedRelations( atlasLayer );
Q_FOREACH( const QgsRelation& relation, relations )
Q_FOREACH ( const QgsRelation& relation, relations )
{
mRelationsComboBox->addItem( relation.name(), relation.id() );
}
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.h
Expand Up @@ -674,7 +674,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView

QgsPreviewEffect* mPreviewEffect;

QgsRectangle imageRect(const QImage& img , const QgsMapSettings& mapSettings );
QgsRectangle imageRect( const QImage& img, const QgsMapSettings& mapSettings );

QgsSnappingUtils* mSnappingUtils;

Expand Down
2 changes: 1 addition & 1 deletion tests/bench/qgsbench.cpp
Expand Up @@ -315,7 +315,7 @@ QString QgsBench::serialize( QMap<QString, QVariant> theMap, int level )
QMap<QString, QVariant>::const_iterator i = theMap.constBegin();
while ( i != theMap.constEnd() )
{
switch ( (QMetaType::Type)i.value().type() )
switch (( QMetaType::Type )i.value().type() )
{
case QMetaType::Int:
list.append( space2 + "\"" + i.key() + "\": " + QString( "%1" ).arg( i.value().toInt() ) );
Expand Down
5 changes: 2 additions & 3 deletions tests/src/python/test_qgsdoccoverage.py
Expand Up @@ -44,11 +44,11 @@ def elemIsDocumentableClass(elem):

def elemIsDocumentableMember(elem):
if elem.get('kind') == 'variable':
return False
return False

#only public or protected members should be documented
if not elem.get('prot') in ('public','protected'):
return False
return False

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

if __name__ == '__main__':
unittest.main()

0 comments on commit fc22bf1

Please sign in to comment.