summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fileviewcontroller.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-11 17:01:20 +0900
committerMichele Calgaro <[email protected]>2020-01-11 17:01:20 +0900
commit64cd571a1fb57be85e62ed7aecda60e842fa88ac (patch)
tree496b44b93828093a2668f09166acf6c2392b170a /src/gvcore/fileviewcontroller.cpp
parent68f6397b927726d8eb88ecc67ebfc7fb83a5dd8c (diff)
downloadgwenview-64cd571a1fb57be85e62ed7aecda60e842fa88ac.tar.gz
gwenview-64cd571a1fb57be85e62ed7aecda60e842fa88ac.zip
Fixed error message when swtiching from icon view to browse view. This resolves bug 3047.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gvcore/fileviewcontroller.cpp')
-rw-r--r--src/gvcore/fileviewcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp
index 9cd11ee..c1683f7 100644
--- a/src/gvcore/fileviewcontroller.cpp
+++ b/src/gvcore/fileviewcontroller.cpp
@@ -1006,7 +1006,7 @@ void FileViewController::setSilentMode( bool silent ) {
void FileViewController::retryURL() {
mDirLister->clearError();
- mDirLister->openURL( url());
+ mDirLister->openURL(url().directory());
}