From e9463ffe2ac110193cac4c25fcba887249f52b3c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 13 Jun 2012 15:15:54 +0200 Subject: Fix regression: Open file if entering it in the URL-navigator The regression has been introduced when hiding the DolphinDirLister inside KFileItemModel. Now the signal urlIsFileError() gets forwarded to the container again where the file will be opened. BUG: 301757 FIXED-IN: 4.9.0 --- src/dolphinviewcontainer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index 59d73ec6c..fd52806d9 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -188,6 +188,12 @@ private slots: */ void slotDirectoryLoadingCompleted(); + /** + * Is called if the URL set by DolphinView::setUrl() represents + * a file and not a directory. Takes care to activate the file. + */ + void slotUrlIsFileError(const KUrl& url); + /** * Handles clicking on an item. If the item is a directory, the * directory is opened in the view. If the item is a file, the file -- cgit v1.3