┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorMufeed Ali <[email protected]>2021-06-29 13:52:57 +0000
committerNate Graham <[email protected]>2021-06-29 13:52:57 +0000
commit152a7b4fcbc06ab536083abe0a7f63c1722960fb (patch)
tree58b1d94be9c491c932dd069dc3198b2cf7d38476 /src/views/dolphinview.h
parenta3559a19db218e2a320fd81634d14e7cf891662e (diff)
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.
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h2
1 files changed, 2 insertions, 0 deletions
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;