SPlanzer / QGIS-LDS-Plugin

0 stars 0 forks source link

Store settings as .ini #11

Open SPlanzer opened 6 years ago

SPlanzer commented 6 years ago

Currently the users API key is stored as a Qsettings variable

This is no longer seen as best practice

config_path = os.path.join( QgsApplication.qgisSettingsDirPath(), "lds-plugin", "config.ini" )

QgsApplication.qgisSettingsDirPath() being the .qgis2 folder