381612f794
The example keeps around image file names only and append them to the selected dir path, that works fine for file scheme files, but for Android with content scheme files, that doesn't work as good because usually the paths are returned by a provider and managing them manually like appending a file name to a directory (tree) path might not work. This patch retrieves QFileInfo objects and use the absolute file paths to open any image. Pick-to: 6.6 6.5 6.2 Fixes: QTBUG-116181 Change-Id: I9911a181d92ba0452500398cbe052b9583bd79a0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> |
||
---|---|---|
.. | ||
animation | ||
desktop | ||
dialogs | ||
doc | ||
draganddrop | ||
gallery | ||
gestures | ||
graphicsview | ||
itemviews | ||
layouts | ||
mainwindows | ||
painting | ||
qnx/foreignwindows | ||
rhi | ||
richtext | ||
tools | ||
touch | ||
tutorials | ||
widgets | ||
CMakeLists.txt | ||
widgets.pro |