┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index 62ced31ac..f3ba9445f 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -875,7 +875,14 @@ private:
bool m_isFolderWritable;
bool m_dragging; // True if a dragging is done. Required to be able to decide whether a
// tooltip may be shown when hovering an item.
- bool m_loading;
+
+ enum class LoadingState {
+ Idle,
+ Loading,
+ Canceled,
+ Completed
+ };
+ LoadingState m_loadingState = LoadingState::Idle;
QUrl m_url;
QString m_viewPropertiesContext;