Skip to content
Permalink
Browse files

Replace clumsy string

  • Loading branch information
nyalldawson committed Jul 17, 2018
1 parent 61fbb5f commit d27c1aa1e9967f1abac5445cec0f116f6b784167
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -7133,7 +7133,7 @@ void QgisApp::saveAsRasterFile( QgsRasterLayer *rasterLayer )
if ( rlWeakPointer )
emit layerSavedAs( rlWeakPointer, fileName );

messageBar()->pushMessage( tr( "Saving Done" ),
messageBar()->pushMessage( tr( "Layer Exported" ),
tr( "Successfully saved raster layer to <a href=\"%1\">%2</a>" ).arg( QUrl::fromLocalFile( QFileInfo( newFilename ).path() ).toString(), QDir::toNativeSeparators( newFilename ) ),
Qgis::Success, messageTimeout() );
} );
@@ -7359,7 +7359,7 @@ void QgisApp::saveAsVectorFileGeneral( QgsVectorLayer *vlayer, bool symbologyOpt
this->addVectorLayers( QStringList( uri ), encoding, QStringLiteral( "file" ) );
}
this->emit layerSavedAs( vlayer, vectorFilename );
this->messageBar()->pushMessage( tr( "Saving Done" ),
this->messageBar()->pushMessage( tr( "Layer Exported" ),
tr( "Successfully saved vector layer to <a href=\"%1\">%2</a>" ).arg( QUrl::fromLocalFile( QFileInfo( newFilename ).path() ).toString(), QDir::toNativeSeparators( newFilename ) ),
Qgis::Success, messageTimeout() );
}

0 comments on commit d27c1aa

Please sign in to comment.
You can’t perform that action at this time.