[Bug 307691] Image Viewer does not open image from local directory (using DirModel)

Ruediger Gad r.c.g at gmx.de
Mon Oct 15 21:23:55 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=307691

Ruediger Gad <r.c.g at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/plas
                   |                            |ma-mobile/47a6624960f38d49f
                   |                            |d98949f9d0647ed9ee61044

--- Comment #4 from Ruediger Gad <r.c.g at gmx.de> ---
Git commit 47a6624960f38d49fd98949f9d0647ed9ee61044 by Ruediger Gad.
Committed on 15/10/2012 at 23:11.
Pushed by ruedigergad into branch 'master'.

Add via QML callable get method to DirModel.

The get method returns a QVariantMap.
Currently this maps contains the keys "url" and "mimeType", but it can
be easily extended.
This obsoletes the previous hack.

M  +1    -8   
applications/filebrowser/imageviewerpart/contents/ui/ViewerPage.qml
M  +11   -5    components/dirmodel/dirmodel.cpp
M  +2    -1    components/dirmodel/dirmodel.h

http://commits.kde.org/plasma-mobile/47a6624960f38d49fd98949f9d0647ed9ee61044

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Active mailing list