From 426a57997b111e76d7b74a69e9b4aedf7f463a35 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 19 Dec 2008 06:41:26 +0000 Subject: Don't request the focus for the view because of a completed directory lister, instead directly request it when we know that the user has entered a new URL. This prevents that the focus gets stolen from the Terminal when somebody types "touch foo". BUG: 178070 svn path=/trunk/KDE/kdebase/apps/; revision=898819 --- src/dolphinviewcontainer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index d2adb5ed7..eb70c37e1 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -229,6 +229,9 @@ private slots: */ void redirect(const KUrl& oldUrl, const KUrl& newUrl); + /** Requests the focus for the view \a m_view. */ + void requestFocus(); + private: bool m_showProgress; -- cgit v1.3