diff options
| author | Méven Car <[email protected]> | 2025-10-20 15:10:26 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-10-23 08:10:58 +0000 |
| commit | aa481d1fdd0cb5ad1f2d9df81d376feb2fd4d147 (patch) | |
| tree | 8f9687394fc78c81f92af043271865ab6230023c /src | |
| parent | 2fab59c0d50c42d9e1875201d7296df57bb1b919 (diff) | |
DolphinView: emit loadingCompleted at the end of the slot
Diffstat (limited to 'src')
| -rw-r--r-- | src/views/dolphinview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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() |
