[Kig] File Loading Based on MIME Types

Review Request #114745 - Created Dec. 31, 2013 and submitted

Information
David Narváez
kig
master
Reviewers
kdeedu
dfaure
These are changes I worked months ago when I found and fixed bug 322578. Back then I had a brief e-mail exchange with dfaure about this change and he thought it is better to load files based on their MIME types instead of the file extensions. Besides the fact that it loads the files  based on their MIME types, these changes also modernize the loading of the Kig part by using KService, and querying the KService for the supported MIME types to load. There's a noticeable change in the UI, see the attached picture.
Loaded all files in the example folder of the kig repository, all loading OK. It lists exactly 8 files, same as my 4.12 installation of Kig.

Files


Issues

  • 0
  • 3
  • 0
  • 3
Description From Last Updated
David Narváez
David Faure
David Narváez
Commit Hook
Commit Hook
This review has been submitted with commit 985cbc9c1799b915b47692b17a110346754aea73 by David E. Narvaez to branch master.
David Narváez
Review request changed

Status: Closed (submitted)

Loading...