Skip to content

Commit

Permalink
make relative paths default
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 18, 2011
1 parent c40971d commit dc1712b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsproject.cpp
Expand Up @@ -323,6 +323,7 @@ struct QgsProject::Imp
// XXX THESE SHOULD BE MOVED TO STATUSBAR RELATED SOURCE
QgsProject::instance()->writeEntry( "PositionPrecision", "/Automatic", true );
QgsProject::instance()->writeEntry( "PositionPrecision", "/DecimalPlaces", 2 );
QgsProject::instance()->writeEntry( "Paths", "/Absolute", false );
}

}; // struct QgsProject::Imp
Expand All @@ -336,6 +337,7 @@ QgsProject::QgsProject()
// XXX THESE SHOULD BE MOVED TO STATUSBAR RELATED SOURCE
writeEntry( "PositionPrecision", "/Automatic", true );
writeEntry( "PositionPrecision", "/DecimalPlaces", 2 );
writeEntry( "Paths", "/Absolute", false );
// XXX writeEntry() makes the project dirty, but it doesn't make sense
// for a new project to be dirty, so let's clean it up
dirty( false );
Expand Down

0 comments on commit dc1712b

Please sign in to comment.