Reworked an option to use external QSettings.

This is a new version of #14 fix.
Now it doesn't break existing code.