mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
When a new project is created, default to setting the metadata
author to the current logged on user name
This commit is contained in:
parent
f435f62364
commit
288bb1a872
@ -511,6 +511,7 @@ void QgsProject::clear()
|
||||
mCustomVariables.clear();
|
||||
mMetadata = QgsProjectMetadata();
|
||||
mMetadata.setCreationDateTime( QDateTime::currentDateTime() );
|
||||
mMetadata.setAuthor( QgsApplication::userFullName() );
|
||||
emit metadataChanged();
|
||||
|
||||
QgsCoordinateTransformContext context;
|
||||
|
Loading…
x
Reference in New Issue
Block a user