Skip to content
Permalink
Browse files
Update indentation
  • Loading branch information
nyalldawson committed May 14, 2017
1 parent 1488205 commit a8b10a2fd98e93c6c8edab9c744834979fe1b26c
Showing with 5 additions and 4 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +4 −3 src/app/qgsprojectproperties.cpp
@@ -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() )
{
7 src/app/qgsprojectproperties.cpp 100755 → 100644
@@ -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)

0 comments on commit a8b10a2

Please sign in to comment.