Fix handling of '~' in output path
commit87af9bf29adf68152545bf9749b8fa025492da43
authorjlh <jlh@gmx.ch>
Wed, 23 Jul 2008 19:00:57 +0000 (23 21:00 +0200)
committerjlh <jlh@gmx.ch>
Wed, 23 Jul 2008 20:11:09 +0000 (23 22:11 +0200)
treea1685d2284b5b4895c8b5b16715300d842c54c84
parent88c31bbcb027711de07adc87b695ac4779afe326
Fix handling of '~' in output path

The '~' should only be treated as the home directory if it's
either alone, or followed by a slash.  Otherwise, things like
"/home/${USER}2/blah" would be replaced by "~2/blah" and the other
way around.

PreferencesDialog::browseOutputPath() now uses getOutputPath()
instead of constructing the path itself.
preferences.cpp