┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2024-06-13 16:38:41 +0200
committerFelix Ernst <[email protected]>2024-06-20 09:45:32 +0000
commit9108534ce07fbdc5e8f037826049c37cf226d2e6 (patch)
treea95995578c1691fa19a19bbcbc6659e4dc3a59b8 /src/dolphinviewcontainer.h
parent15eff9f5ada404632eb014ca3c00337592851b47 (diff)
Prevent inconsistent status bar progress reporting states
Merge setting title and progress percent into one method. This makes sure that the method can be called from all over the place and will still always show a consistent state instead of partially showing the progress percent for one progress but the label for a different one. This is to enable various tasks reporting progress at the same time in a way that doesn't lead to a confusing mess for users. Usually multiple tasks do not show progress at the same time, but when it happens this commit should make sure that the user experience is at least bearable. Allow not having a "Stop" button next to the progress report for tasks that cannot be stopped.
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index 90df69c8e..9628def63 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -283,10 +283,6 @@ private Q_SLOTS:
*/
void updateStatusBar();
- void updateDirectoryLoadingProgress(int percent);
-
- void updateDirectorySortingProgress(int percent);
-
/**
* Updates the statusbar to show an undetermined progress with the correct
* context information whether a searching or a directory loading is done.