D17697: Fix the list of file types in Kig "Open File" dialog

Yuri Chornoivan noreply at phabricator.kde.org
Thu Dec 20 13:14:00 GMT 2018

yurchor added a comment.

  In D17697#379940 <https://phabricator.kde.org/D17697#379940>, @apol wrote:
  > They should be shown anyway, you mean the filters arguments does nothing? Maybe that's the bug to chase.
  Sorry, but no. According to docs [1], QFileDialog::getOpenFileName accepts filter const QString &filter = QString() in the form "Images (*.png *.xpm *.jpg)", not a MIME type list as now. That's why this dialog shows "All files" only in the filter section now.
  [1] http://doc.qt.io/qt-5/qfiledialog.html#getOpenFileName

  R331 Kig


To: yurchor, #kde_edu
Cc: apol, kde-edu, narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20181220/480ef921/attachment.html>

More information about the kde-edu mailing list