lutraconsulting / qgis-discovery-plugin

Provides search / gazetteer functionality in QGIS using PostGIS-based data
http://www.lutraconsulting.co.uk/products/discovery/
GNU General Public License v2.0
15 stars 16 forks source link

migrate to QgsSettings to use global settings file #73

Closed tschuettenberg closed 4 years ago

tschuettenberg commented 4 years ago

A successor for QSettings (throughout the QGIS codebase) seems to be QgsSettings (#72), which enables the (additional) use of a global settings file. Therefore I added from qgis.core import QgsSettings to config_dialog.py, dbutils.py, discoveryplugin.py & mssql_utils.py and replaced every occurence of QSettings in these files.

saberraz commented 4 years ago

Great...just released a new version (2.5.1) on the QGIS plugin repo with your fix.

tschuettenberg commented 4 years ago

That is so cool!! Thanks very much! QGIS rocks! :-)