Remove all unnecessary calls to QSettings.sync().
This function is called automatically when a QSettings object is destroyed, so is rarely needed to be called explicitly. There are still some cases where a QSettings object is passed-by-reference, so there I left the sync() calls as it's unclear how permanent those objects are and if they'd call sync() before application shutdown
Showing
Please register or sign in to comment