Skip to content

Commit e58cccb

Browse files
committedMar 19, 2019
Hide deprecated datum transforms by default
Instead of showing by default and requiring users to manually hide them, reverse this logic and hide deprecated ones by default and require motivated users to manually opt in to showing them. Result: less likely for users to accidentally use deprecated transforms. Sponsored by ICSM
1 parent c60d559 commit e58cccb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/gui/qgsdatumtransformdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ QgsDatumTransformDialog::QgsDatumTransformDialog( const QgsCoordinateReferenceSy
5959

6060
QgsSettings settings;
6161
restoreGeometry( settings.value( QStringLiteral( "Windows/DatumTransformDialog/geometry" ) ).toByteArray() );
62-
mHideDeprecatedCheckBox->setChecked( settings.value( QStringLiteral( "Windows/DatumTransformDialog/hideDeprecated" ), false ).toBool() );
62+
mHideDeprecatedCheckBox->setChecked( settings.value( QStringLiteral( "Windows/DatumTransformDialog/hideDeprecated" ), true ).toBool() );
6363

6464
mLabelSrcDescription->clear();
6565
mLabelDstDescription->clear();

‎src/ui/qgsdatumtransformdialogbase.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<item>
3333
<widget class="QCheckBox" name="mHideDeprecatedCheckBox">
3434
<property name="text">
35-
<string>Hide deprecated</string>
35+
<string>Hide deprecated transformations</string>
3636
</property>
3737
</widget>
3838
</item>

0 commit comments

Comments
 (0)
Please sign in to comment.