workaround for QSettings on linux

because native format on linux is iniformat
. detects if running on linux
. save_settings with 3 statements to save diferently on linux
. open from file use a different method on linux