Opened 14 years ago
Last modified 14 years ago
#1434 closed defect (fixed)
OMEdit stores settings in read-only location
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, Adeel Asghar |
Description
OPENMODELICAHOME/bin/OMEdit-Settings.xml is not a valid path to store settings in (it's read-only!).
Neither is /tmp/OMEdit/Settings.xml as it used to be (it's deleted on every reboot).
It should be stored in the user's home directory (~/.OMEdit/Settings.xml or ~/.OpenModelica/OMEdit-Settings.xml or $SOMEQTCOMMANDTOGETAPPLICATIONSETTINGSDIRBASEDONPLATFORM/Settings.xml) or using some Qt Settings API.
Note:
See TracTickets
for help on using tickets.
Fixed by using QSettings API