Re: [madman-discuss] Should madman's "add media dir." always follow symlinks?
Brought to you by:
inducer
From: Andreas <ma...@ti...> - 2005-03-07 00:32:04
|
On Donnerstag 17 Februar 2005 21:28, Kyle Liddell wrote: > I've recently begun using sfs (secure filesystem) to access my music > over untrusted networks. A problem I've come across is that sfs > dynamically creates/mounts the remote filesystem after an access attempt > and symlinks the dir. you want to an internal name for the dir. Madman > follows the symlink but ends up using the actual path, which goes away > after inactivity, which means music can't be found. > I've changed line 58 of dirlist.cpp to be: > QString dir =3D QFileDialog::getExistingDirectory(QString::null, Parent, > tr("Add Directory"), NULL, TRUE, FALSE); > which seems to fix the problem by not resolving symlinks to actual dirs. > I don't know how many other people will need this, but it might be > wanted as a config option. Actually, I consider it good manners for programs to not resolve symlinks.= =20 Changed, committed. Thanks for the suggestion. Andreas |