Skip to content
Commit 80719d13 authored by Robert Hoffmann's avatar Robert Hoffmann Committed by Nate Graham
Browse files

Fix image loading performance

Summary: Start the dirlister after loading an image whose url is passed on the command line to make sure that this image is shown before the possibly long running dirlister on a potentially slow device is started.

Test Plan:
Mount some slow network filesystem (e.g. cifs) and open an image file
from a directory containing a few hundred files using the command line:
$ gwenview imagefile

It will take several seconds/minutes until the image is shown (until all
preview images are loaded).

After applying this patch the image will be shown immediately and the
preview images after that.

Reviewers: #gwenview, ngraham

Reviewed By: #gwenview, ngraham

Subscribers: ngraham, tommo

Tags: #gwenview

Differential Revision: https://phabricator.kde.org/D25005
parent 0eacf80b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment