@@ -575,7 +575,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
575
575
mLegendLayersBoldChkBx ->setChecked ( settings.value ( " /qgis/legendLayersBold" , true ).toBool () );
576
576
mLegendGroupsBoldChkBx ->setChecked ( settings.value ( " /qgis/legendGroupsBold" , false ).toBool () );
577
577
cbxHideSplash->setChecked ( settings.value ( " /qgis/hideSplash" , false ).toBool () );
578
- cbxShowTips->setChecked ( settings.value ( " /qgis/showTips" , true ).toBool () );
578
+ cbxShowTips->setChecked ( settings.value ( QString ( " /qgis/showTips%1 " ). arg ( QGis::QGIS_VERSION_INT / 100 ) , true ).toBool () );
579
579
cbxAttributeTableDocked->setChecked ( settings.value ( " /qgis/dockAttributeTable" , false ).toBool () );
580
580
cbxSnappingOptionsDocked->setChecked ( settings.value ( " /qgis/dockSnapping" , false ).toBool () );
581
581
cbxAddPostgisDC->setChecked ( settings.value ( " /qgis/addPostgisDC" , false ).toBool () );
@@ -1082,7 +1082,7 @@ void QgsOptions::saveOptions()
1082
1082
bool legendGroupsBold = settings.value ( " /qgis/legendGroupsBold" , false ).toBool ();
1083
1083
settings.setValue ( " /qgis/legendGroupsBold" , mLegendGroupsBoldChkBx ->isChecked () );
1084
1084
settings.setValue ( " /qgis/hideSplash" , cbxHideSplash->isChecked () );
1085
- settings.setValue ( " /qgis/showTips" , cbxShowTips->isChecked () );
1085
+ settings.setValue ( QString ( " /qgis/showTips%1 " ). arg ( QGis::QGIS_VERSION_INT / 100 ) , cbxShowTips->isChecked () );
1086
1086
settings.setValue ( " /qgis/dockAttributeTable" , cbxAttributeTableDocked->isChecked () );
1087
1087
settings.setValue ( " /qgis/attributeTableBehaviour" , cmbAttrTableBehaviour->itemData ( cmbAttrTableBehaviour->currentIndex () ) );
1088
1088
settings.setValue ( " /qgis/attributeTableRowCache" , spinBoxAttrTableRowCache->value () );
0 commit comments