code cleanup, removed own reject() call
saveSettings() / loadSettings() function added to save and load settings to and from QSettings (ini file format)