Coding style small fixes
Made proper use of qsettings