summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--konqueror/listview/konq_listviewwidget.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/konqueror/listview/konq_listviewwidget.cpp b/konqueror/listview/konq_listviewwidget.cpp
index 4c1198325..4c89f529d 100644
--- a/konqueror/listview/konq_listviewwidget.cpp
+++ b/konqueror/listview/konq_listviewwidget.cpp
@@ -541,8 +541,13 @@ void KonqBaseListViewWidget::contentsMouseDoubleClickEvent(TQMouseEvent *e)
else {
KParts::URLArgs args;
args.trustedSource = true;
- KURL upURL = m_dirLister->url().upURL();
- if (!upURL.isEmpty()) {
+ KURL baseURL(m_dirLister->url().internalReferenceURL());
+ if (baseURL.isEmpty())
+ {
+ baseURL = m_dirLister->url();
+ }
+ KURL upURL = baseURL.upURL();
+ if (!upURL.isEmpty()) {
m_pBrowserView->extension()->openURLRequest(upURL, args);
}
}