Calling KDirLister from plasma widget causes no files to be found.

David Hubner hubnerd at ntlworld.com
Sat Aug 29 16:24:20 CEST 2009


On Saturday 29 August 2009 13:01:13 Aaron J. Seigo wrote:
> On August 29, 2009, David Hubner wrote:
> > Calling KIO::KDirLister from a plasma widget causes no files to be listed
> > by KDirLister.
> 
> is this true with any KDirList call, or just with trash:/?
> 
> does it help if the trash applet assigns a parent object, e.g.:
> 
> m_dirLister = new KDirLister(this);?
> 
> 

Thats ironic i just tried that :) Naaa, does not help.. strange thing is, the KDirLister call works if you call the applet from plasmoidviewer so i would of assumed it would have been just when Plasma::Applet is inherited but it also happens with desktop-settings and that only inherits Plasma::Wallpaper. 

Happens with all KDirList calls not just trash:/ 

-- 
David Hubner
IRC: Kirsan
MSN: hubnerd at hubnerd.org
ICQ: 24308559


More information about the Plasma-devel mailing list