Skip to content
Permalink
Browse files
make relative paths default
  • Loading branch information
jef-n authored and alexbruy committed Dec 2, 2011
1 parent 747348e commit cba19e28a69f6b557baf5f4dbffeadf5bd65faf4
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsproject.cpp
@@ -326,6 +326,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
@@ -339,6 +340,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 );

0 comments on commit cba19e2

Please sign in to comment.