From 03a65da80aea562ea51bf6db12a30a1acf097368 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 20 Mar 2012 17:19:12 +0100 Subject: KFileItemModel: Remove minimum-update timer The timer became unnecessary after introducing the behavior to collect all new items until KDirLister emits a completed()-signal. --- src/views/dolphinview.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/views/dolphinview.cpp') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 75561a9c6..f3d386b3b 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1135,9 +1135,7 @@ void DolphinView::slotDirListerStarted(const KUrl& url) void DolphinView::slotLoadingCompleted() { // Update the view-state. This has to be done using a Qt::QueuedConnection - // because the view might not be in its final state yet (the view also - // listens to the completed()-signal from KDirLister and the order of - // of slots is undefined). + // because the view might not be in its final state yet. QTimer::singleShot(0, this, SLOT(updateViewState())); emit finishedPathLoading(url()); -- cgit v1.3