]> cloud.milkyroute.net Git - dolphin.git/commit
Dolphin: directory loading progress
authorDon Nguyen <don78colorado@gmail.com>
Fri, 20 Jan 2017 23:00:34 +0000 (00:00 +0100)
committerAlbert Astals Cid <aacid@kde.org>
Fri, 20 Jan 2017 23:00:34 +0000 (00:00 +0100)
commitd8ffea247626842ac0f9e5048c8be05c250ff719
treea42262201b2dfd09b8c1fe4e24f5726e2709eeeb
parent97b5435b6b3debc443f8fa815d0f2adcef61f492
Dolphin: directory loading progress

Everything is already set up to show the directory loading progress in the status bar, but the signal KFileItemModel::directoryLoadingProgress is never emmited anywhere.  I connected it to KFileItemModelDirLister::percent.

This was difficult to test because I had a hard time finding a directory that didn't load almost immediately.  I was able to verify the fix by listing a remote directory of 20,000 files (see screenshot)

REVIEW: 129619
src/kitemviews/kfileitemmodel.cpp