Summary: | Create empty settings object if none is created from outside okular core library | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Bogdan Cristea <cristeab> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aacid, cristeab |
Priority: | NOR | ||
Version: | 0.14.80 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | create empty settings object if none is created from outside okular core library |
Description
Bogdan Cristea
2012-05-06 20:27:29 UTC
Created attachment 70906 [details]
create empty settings object if none is created from outside okular core library
That's a quick and dirty solution but not really optimal since you have no access to the settings headers so you are stuck with the default options that might not suit you. The solution I would like is make it so that the user of the library can create it's own settings instance, the problem is that settings now mixes things used in core like the memory and things used in the ui like should show the sidebar or not. What do you think about splitting the current settings into CoreSettings and UISettings and then installing the CoreSettings headers? That could be even better. Maybe we could create some documentation about the available settings. They are documented in okular/conf/okular.kcfg |