┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2019-09-02 09:12:48 +0200
committerKai Uwe Broulik <[email protected]>2019-09-02 09:12:48 +0200
commitada16756d69c012c089733f6ce4e9271f84ccca6 (patch)
tree346a4ddc3e82e3f48a5889af1311a0a17366d664 /src/dolphinviewcontainer.cpp
parent246a525fdad9ea1aa90b59880b8317e5f3af77c9 (diff)
Reset progress bar text when directory loading starts
Dolphin shows a different text for whether it is loading the directory or currently sorting its contents. However, when entering a folder that causes sort criteria to change (e.g. because of different view properties in that folder), the status bar text is changed to "Sorting..." while it is still actually loading the folder. When loading a directory starts, reset any status bar text to ensure "Loading..." is displayed in this case. Differential Revision: >https://phabricator.kde.org/D23459
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
-rw-r--r--src/dolphinviewcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index 5d1d257e5..585610550 100644
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -566,6 +566,7 @@ void DolphinViewContainer::slotDirectoryLoadingStarted()
// Trigger an undetermined progress indication. The progress
// information in percent will be triggered by the percent() signal
// of the directory lister later.
+ m_statusBar->setProgressText(QString());
updateDirectoryLoadingProgress(-1);
}
}