From 152a7b4fcbc06ab536083abe0a7f63c1722960fb Mon Sep 17 00:00:00 2001 From: Mufeed Ali Date: Tue, 29 Jun 2021 13:52:57 +0000 Subject: Show a "Loading..." placeholder text Since a placeholder text is being used when the folder is empty, it also makes sense to show a similar placeholder text when the view is still loading, especially now that the status bar which previously contained a loading indicator now disappears when a folder is loading. --- src/views/dolphinview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/views/dolphinview.h') diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index bb093774f..e4d779830 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -839,6 +839,7 @@ private: private: void updatePalette(); + void showLoadingPlaceholder(); bool m_active; bool m_tabsForFiles; @@ -878,6 +879,7 @@ private: QTimer* m_twoClicksRenamingTimer; QUrl m_twoClicksRenamingItemUrl; QLabel* m_placeholderLabel; + QTimer* m_showLoadingPlaceholderTimer; // For unit tests friend class TestBase; -- cgit v1.3.1