Maproom / qmapshack

Consumer grade GIS software
GNU General Public License v3.0
298 stars 64 forks source link

[QMS-699] Fix writing to default config when using commandline parameter -c #700

Closed frankystone closed 5 days ago

frankystone commented 5 days ago

What is the linked issue for this pull request:

QMS-#699

What you have done:

Replaced QSetting cfg; with SETTINGS; and included CSettings.h in IUnit.cpp

Steps to perform a simple smoke test:

  1. Start QMS with command line parameter -c ~/qms.conf
  2. The default config file will not be overwritten

Does the code comply to the coding rules and naming conventions Coding Guidelines:

Is every user facing string in a tr() macro?

Did you add the ticket number and title into the changelog? Keep the numeric order in each release block.

This change needs also to be included in the porting_qt6 branch