From aa481d1fdd0cb5ad1f2d9df81d376feb2fd4d147 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Mon, 20 Oct 2025 15:10:26 +0200 Subject: DolphinView: emit loadingCompleted at the end of the slot --- src/views/dolphinview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/views') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 594eddb68..2df373be7 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1985,14 +1985,14 @@ void DolphinView::slotDirectoryLoadingCompleted() // because the view might not be in its final state yet. QTimer::singleShot(0, this, &DolphinView::updateViewState); + applyDynamicView(); + // Update the placeholder label in case we found that the folder was empty // after loading it - - Q_EMIT directoryLoadingCompleted(); - - applyDynamicView(); updatePlaceholderLabel(); updateWritableState(); + + Q_EMIT directoryLoadingCompleted(); } void DolphinView::slotDirectoryLoadingCanceled() -- cgit v1.3