DOOMer / screengrab

Crossplatform tool for fast making screenshots.
http://screengrab.doomer.org/
GNU General Public License v2.0
23 stars 8 forks source link

Respect xdg basedir #2

Closed jleclanche closed 12 years ago

jleclanche commented 12 years ago

Im not really sure why config.cpp reimplements what QSettings already does. In any case, it should respect XDG_CONFIG_HOME (default to .config/screengrab)

DOOMer commented 12 years ago

Im not really sure why config.cpp reimplements what QSettings already does. In any case, it should respect XDG_CONFIG_HOME (default to .config/screengrab)

QSettings makes paths like "organization/application" (e.g. "DOOMer/SctreenGrab"), I don't like this it :( So I made "classical" variant - "~/.AppName".

When creating config.cpp, I did not know about XDG_CONFIG_HOME. And did not store the settings in the "$XDG_CONFIG_HOME/ScreenGrab".

DOOMer commented 12 years ago

Added support for XDG_CONFIG_HOME configstorage, by a build option SG_XDG_CONFIG_SUPPORT (commit 46fc7e87d27669b6a95e200a3102d936ebbf3b81)

DOOMer commented 12 years ago

Closed