@@ -550,7 +550,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
550
550
mLegendLayersBoldChkBx ->setChecked ( settings.value ( " /qgis/legendLayersBold" , true ).toBool () );
551
551
mLegendGroupsBoldChkBx ->setChecked ( settings.value ( " /qgis/legendGroupsBold" , false ).toBool () );
552
552
cbxHideSplash->setChecked ( settings.value ( " /qgis/hideSplash" , false ).toBool () );
553
- cbxShowTips->setChecked ( settings.value ( " /qgis/showTips" , true ).toBool () );
553
+ cbxShowTips->setChecked ( settings.value ( QString ( " /qgis/showTips%1 " ). arg ( QGis::QGIS_VERSION_INT / 100 ) , true ).toBool () );
554
554
cbxAttributeTableDocked->setChecked ( settings.value ( " /qgis/dockAttributeTable" , false ).toBool () );
555
555
cbxSnappingOptionsDocked->setChecked ( settings.value ( " /qgis/dockSnapping" , false ).toBool () );
556
556
cbxAddPostgisDC->setChecked ( settings.value ( " /qgis/addPostgisDC" , false ).toBool () );
@@ -1046,7 +1046,7 @@ void QgsOptions::saveOptions()
1046
1046
bool legendGroupsBold = settings.value ( " /qgis/legendGroupsBold" , false ).toBool ();
1047
1047
settings.setValue ( " /qgis/legendGroupsBold" , mLegendGroupsBoldChkBx ->isChecked () );
1048
1048
settings.setValue ( " /qgis/hideSplash" , cbxHideSplash->isChecked () );
1049
- settings.setValue ( " /qgis/showTips" , cbxShowTips->isChecked () );
1049
+ settings.setValue ( QString ( " /qgis/showTips%1 " ). arg ( QGis::QGIS_VERSION_INT / 100 ) , cbxShowTips->isChecked () );
1050
1050
settings.setValue ( " /qgis/dockAttributeTable" , cbxAttributeTableDocked->isChecked () );
1051
1051
settings.setValue ( " /qgis/attributeTableBehaviour" , cmbAttrTableBehaviour->itemData ( cmbAttrTableBehaviour->currentIndex () ) );
1052
1052
settings.setValue ( " /qgis/attributeTableRowCache" , spinBoxAttrTableRowCache->value () );
0 commit comments