Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Style fixes
  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 91a16e4 commit 536c586
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/gui/gui_auto.sip
Expand Up @@ -22,7 +22,6 @@
%Include qgsabstractdatasourcewidget.sip
%Include qgssourceselectprovider.sip
%Include qgssourceselectproviderregistry.sip
%Include qgsvscrollarea.sip
%Include attributetable/qgsfeaturemodel.sip
%Include auth/qgsauthauthoritieseditor.sip
%Include auth/qgsauthcertificateinfo.sip
Expand Down Expand Up @@ -201,6 +200,7 @@
%Include qgstreewidgetitem.sip
%Include qgsunitselectionwidget.sip
%Include qgsvariableeditorwidget.sip
%Include qgsvscrollarea.sip
%Include qgsfiledownloaderdialog.sip
%Include raster/qgsmultibandcolorrendererwidget.sip
%Include raster/qgspalettedrendererwidget.sip
Expand Down
Expand Up @@ -53,7 +53,7 @@ void QgsGeometryLineLayerIntersectionCheck::collectErrors( QList<QgsGeometryChec
}
else if ( const QgsPolygon *polygon = dynamic_cast<const QgsPolygon *>( part ) )
{
QList< const QgsLineString* > rings = QgsGeometryCheckerUtils::polygonRings( polygon );
QList< const QgsLineString * > rings = QgsGeometryCheckerUtils::polygonRings( polygon );
for ( const QgsLineString *ring : rings )
{
const QList< QgsPoint > intersections = QgsGeometryCheckerUtils::lineIntersections( line, ring, mContext->tolerance );
Expand Down
4 changes: 2 additions & 2 deletions src/core/gps/qgsgpsdetector.cpp
Expand Up @@ -45,8 +45,8 @@ QList< QPair<QString, QString> > QgsGpsDetector::availablePorts()
#ifdef Q_OS_LINUX
// look for linux serial devices
const QStringList devices { QStringLiteral( "/dev/ttyS%1" ),
QStringLiteral( "/dev/ttyUSB%1" ),
QStringLiteral( "/dev/rfcomm%1" ), QStringLiteral( "/dev/ttyACM%1" ) };
QStringLiteral( "/dev/ttyUSB%1" ),
QStringLiteral( "/dev/rfcomm%1" ), QStringLiteral( "/dev/ttyACM%1" ) };
for ( const QString &linuxDev : devices )
{
for ( int i = 0; i < 10; ++i )
Expand Down

0 comments on commit 536c586

Please sign in to comment.