[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KFileDialog's broken?
From: Waldo Bastian <bastian () suse ! de>
Date: 2000-03-05 22:17:40
[Download RAW message or body]
On Sun, 05 Mar 2000, Carsten Pfeiffer wrote:
> On Sun, Mar 05, 2000 at 08:27:08PM +0000, David Faure wrote:
>
> Hi,
>
> > > getSaveUrl is also broken, the following crashes KMail:
> > > kmheaders.cpp- debug( "Some one should fix
> > > KFileDialog::getSaveURL..." ); // sanders
> > > kmheaders.cpp- KURL url = KFileDialog::getSaveURL(".", "*");
> > >
> > > I replaced the "." with "" and then the file dialog pops up but
> > > isn't usable (clicking OK doesn't do anything).
> >
> > Isn't the correct arg QString::null (last dir) or
> > QDir::currentDirPath (current dir) ? Not sure '.' works, but
> > perhaps it should/does.
>
> hmmm, we had a workaround for that to translate '.' to
> QDir::currentDirPath(), but it seems it vanished during the big
> cleanup. Will add it again.
Please reconsider whether you actually want to use the CWD. I think the
CWD of a KDE process is completely uninteresting for the user. Better
use the directory of the current filename or the directory last used by
this application to save a file to.
Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic