summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-11 17:01:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-11 17:11:14 +0900
commitb8445a7039aa8e3a7661a72318c34e461ec0589b (patch)
tree466481426b1025d81d5852087113670c63be1db7
parent1422d700cdcedf057ee624f161c93a78a188383f (diff)
downloadgwenview-b8445a7039aa8e3a7661a72318c34e461ec0589b.tar.gz
gwenview-b8445a7039aa8e3a7661a72318c34e461ec0589b.zip
Fixed error message when swtiching from icon view to browse view. This resolves bug 3047.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 64cd571a1fb57be85e62ed7aecda60e842fa88ac)
-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());
}