diff --git a/src/app/qgsoptions.cpp b/src/app/qgsoptions.cpp index 7f76e7d963c..984d44f8fbf 100644 --- a/src/app/qgsoptions.cpp +++ b/src/app/qgsoptions.cpp @@ -100,19 +100,11 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) : cmbStyle->addItem( style ); } - cmbIdentifyMode->addItem( tr( "Current layer" ), 0 ); - cmbIdentifyMode->addItem( tr( "Top down, stop at first" ), 1 ); - cmbIdentifyMode->addItem( tr( "Top down" ), 2 ); - cmbIdentifyMode->addItem( tr( "Layer selection" ), 3 ); - mIdentifyHighlightColorButton->setColorDialogTitle( tr( "Identify highlight color" ) ); mIdentifyHighlightColorButton->setColorDialogOptions( QColorDialog::ShowAlphaChannel ); QSettings settings; - int identifyMode = settings.value( "/Map/identifyMode", 0 ).toInt(); - cmbIdentifyMode->setCurrentIndex( cmbIdentifyMode->findData( identifyMode ) ); - cbxAutoFeatureForm->setChecked( settings.value( "/Map/identifyAutoFeatureForm", false ).toBool() ); double identifyValue = settings.value( "/Map/searchRadiusMM", QGis::DEFAULT_SEARCH_RADIUS_MM ).toDouble(); QgsDebugMsg( QString( "Standard Identify radius setting read from settings file: %1" ).arg( identifyValue ) ); if ( identifyValue <= 0.0 ) @@ -1042,8 +1034,6 @@ void QgsOptions::saveOptions() settings.setValue( "/qgis/WMSSearchUrl", leWmsSearch->text() ); //general settings - settings.setValue( "/Map/identifyMode", cmbIdentifyMode->itemData( cmbIdentifyMode->currentIndex() ).toInt() ); - settings.setValue( "/Map/identifyAutoFeatureForm", cbxAutoFeatureForm->isChecked() ); settings.setValue( "/Map/searchRadiusMM", spinBoxIdentifyValue->value() ); settings.setValue( "/Map/highlight/color", mIdentifyHighlightColorButton->color().name() ); settings.setValue( "/Map/highlight/colorAlpha", mIdentifyHighlightColorButton->color().alpha() ); diff --git a/src/ui/qgsoptionsbase.ui b/src/ui/qgsoptionsbase.ui index 84954690b8c..c4229db442b 100644 --- a/src/ui/qgsoptionsbase.ui +++ b/src/ui/qgsoptionsbase.ui @@ -268,8 +268,8 @@ 0 0 - 646 - 586 + 399 + 538 @@ -931,8 +931,8 @@ 0 0 - 630 - 867 + 515 + 820 @@ -1293,8 +1293,8 @@ 0 0 - 502 - 381 + 407 + 367 @@ -1603,8 +1603,8 @@ 0 0 - 669 - 724 + 524 + 669 @@ -2202,8 +2202,8 @@ 0 0 - 469 - 335 + 413 + 305 @@ -2538,8 +2538,8 @@ 0 0 - 630 - 687 + 647 + 589 @@ -2549,40 +2549,6 @@ Identify - - - - - - Mode - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Open feature form, if a single feature is identified - - - @@ -3068,8 +3034,8 @@ 0 0 - 470 - 360 + 381 + 326 @@ -3279,8 +3245,8 @@ 0 0 - 472 - 579 + 374 + 529 @@ -3770,8 +3736,8 @@ 0 0 - 432 - 364 + 345 + 350 @@ -3900,8 +3866,8 @@ 0 0 - 598 - 700 + 491 + 647 @@ -4154,8 +4120,8 @@ 0 0 - 283 - 221 + 225 + 201 @@ -4244,8 +4210,8 @@ 0 0 - 486 - 649 + 389 + 586