diff options
| author | Peter Penz <[email protected]> | 2008-12-19 06:41:26 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-19 06:41:26 +0000 |
| commit | 426a57997b111e76d7b74a69e9b4aedf7f463a35 (patch) | |
| tree | d3f93c5c9cad9fb3746f99861f904bb9dfcde2a0 /src/dolphinviewcontainer.h | |
| parent | d05c4ba829dc9b679840a8a3db6e124d0e3e3002 (diff) | |
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
Diffstat (limited to 'src/dolphinviewcontainer.h')
| -rw-r--r-- | src/dolphinviewcontainer.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
