[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    KFileDialog::setSelection()
From:       Matt Koss <koss () miesto ! sk>
Date:       2000-06-11 17:02:39
[Download RAW message or body]


I wonder why this doesn't work, or maybe I am doing something wrong.

In caitoo I want to preselect filename for saving ( file obviously doesn't 
need to exist ) and setSelection somehow assumes that I pass it a directory 
name instead of filename.

I suspect following code to be a source of a ( possible ) bug :

    KFileViewItem i(-1, -1, u, true );
    //    KFileViewItem i(u.path());
    if (i.isDir())
	setURL(u, true);


	Regards

			Matt

-- 
Matt Koss
e-mail:  koss@miesto.sk

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic