Skip to content

Commit

Permalink
Replace clumsy string
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 17, 2018
1 parent 61fbb5f commit d27c1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
} );
Expand Down Expand Up @@ -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() );
}
Expand Down

0 comments on commit d27c1aa

Please sign in to comment.