Why can't I type "*.*" in KFileDialog ?

2013-04-06 Thread Ilya Basin
Hi list. There's this code: KFileDialog dlg(emptyUrl, i18n("*.png *.xpm *.svg *.svgz|Icon Files (*.png *.xpm *.svg *.svgz)"), q); dlg.setOperationMode( KFileDialog::Opening ); dlg.setCaption( i18n("Open") ); dlg.setMode( KFile::File ); KImageFilePreview *ip = new KImageFilePr

Re: Why can't I type "*.*" in KFileDialog ?

2013-04-06 Thread Thomas Lübking
Because you're typing into the name field? Try editing the "filter" field. On Samstag, 6. April 2013 14:08:26 CEST, Ilya Basin wrote: Hi list. There's this code: KFileDialog dlg(emptyUrl, i18n("*.png *.xpm *.svg *.svgz|Icon Files (*.png *.xpm *.svg *.svgz)"), q); dlg.setOperationMode(