This commit removes the direct use of QSettings from the simulator and replaces it with references to the protected global variable g