Skip to content

Commit

Permalink
Update indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 14, 2017
1 parent 1488205 commit a8b10a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11513,7 +11513,7 @@ void QgisApp::addRasterLayer()
QString e;//only for parameter correctness
QString title = tr( "Open a GDAL Supported Raster Data Source" );
QgsGuiUtils::openFilesRememberingFilter( QStringLiteral( "lastRasterFileFilter" ), mRasterFileFilter, selectedFiles, e,
title );
title );

if ( selectedFiles.isEmpty() )
{
Expand Down
7 changes: 4 additions & 3 deletions src/app/qgsprojectproperties.cpp
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,12 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas *mapCanvas, QWidget *pa
title( QgsProject::instance()->title() );
mProjectFileLineEdit->setText( QDir::toNativeSeparators( QgsProject::instance()->fileName() ) );

connect( mButtonOpenProjectFolder, &QToolButton::clicked, this, [=] {
connect( mButtonOpenProjectFolder, &QToolButton::clicked, this, [ = ]
{
QFileInfo fi( QgsProject::instance()->fileName() );
QString folder = fi.path();
QDesktopServices::openUrl(QUrl::fromLocalFile( folder ));
});
QDesktopServices::openUrl( QUrl::fromLocalFile( folder ) );
} );

// get the manner in which the number of decimal places in the mouse
// position display is set (manual or automatic)
Expand Down

0 comments on commit a8b10a2

Please sign in to comment.