]> cloud.milkyroute.net Git - dolphin.git/commit
The performance of updating the revision state of items depends on the used plugin...
authorPeter Penz <peter.penz19@gmail.com>
Fri, 17 Jul 2009 19:26:46 +0000 (19:26 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 17 Jul 2009 19:26:46 +0000 (19:26 +0000)
commita447eb391c53e2731f61375411007b73bf95a0a3
tree88a20ddc638713a2e6bb758bc97697ccc39a4de3
parent93ce7f40e2d067eba48b317ef4028c2c75eebebd
The performance of updating the revision state of items depends on the used plugin. To prevent that Dolphin gets blocked by a slow plugin, the updating is delegated to a thread.

Still open issue: Applying the revision control property to the model is a bottleneck in QListView (a detailed description of the reason is in kdelibs/kfile/kfilepreviewgenerator.cpp, class LayoutBlocker). But the approach used in KFilePreviewGenerator destroys the textlayout in this case and is temporary disabled until I could track down the reason.

svn path=/trunk/KDE/kdebase/apps/; revision=998492
src/revisioncontrolobserver.cpp
src/revisioncontrolobserver.h