[QGIS Commit] r11750 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Oct 3 18:28:32 EDT 2009


Author: timlinux
Date: 2009-10-03 18:28:32 -0400 (Sat, 03 Oct 2009)
New Revision: 11750

Modified:
   trunk/qgis/src/app/qgsoptions.cpp
Log:
HIG compliance for snap mode combo list

Modified: trunk/qgis/src/app/qgsoptions.cpp
===================================================================
--- trunk/qgis/src/app/qgsoptions.cpp	2009-10-03 22:25:55 UTC (rev 11749)
+++ trunk/qgis/src/app/qgsoptions.cpp	2009-10-03 22:28:32 UTC (rev 11750)
@@ -210,9 +210,9 @@
   mLineColourToolButton->setColor( QColor( myRed, myGreen, myBlue ) );
 
   //default snap mode
-  mDefaultSnapModeComboBox->insertItem( 0, tr( "to vertex" ), "to vertex" );
-  mDefaultSnapModeComboBox->insertItem( 1, tr( "to segment" ), "to segment" );
-  mDefaultSnapModeComboBox->insertItem( 2, tr( "to vertex and segment" ), "to vertex and segment" );
+  mDefaultSnapModeComboBox->insertItem( 0, tr( "To vertex" ), "to vertex" );
+  mDefaultSnapModeComboBox->insertItem( 1, tr( "To segment" ), "to segment" );
+  mDefaultSnapModeComboBox->insertItem( 2, tr( "To vertex and segment" ), "to vertex and segment" );
   QString defaultSnapString = settings.value( "/qgis/digitizing/default_snap_mode", "to vertex" ).toString();
   mDefaultSnapModeComboBox->setCurrentIndex( mDefaultSnapModeComboBox->findData( defaultSnapString ) );
   mDefaultSnappingToleranceSpinBox->setValue( settings.value( "/qgis/digitizing/default_snapping_tolerance", 0 ).toDouble() );



More information about the QGIS-commit mailing list