diff options
| author | Frank Reininghaus <[email protected]> | 2011-10-14 09:21:19 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2011-10-14 09:21:19 +0200 |
| commit | 1abb47fba752e16b9a7d4fb8f483b239749c5f4d (patch) | |
| tree | a99c79ebb2e9364083c02dc4b22bce721963ecf6 /src/views/dolphinview.h | |
| parent | d7c4fdedd0dcca4465eaf68a1904cde46c33a74c (diff) | |
Activate the DolphinView if the KItemListContainer gets focus
This is needed in the case that the view is split to make the
DolphinMainWindow aware of the view which is currently active.
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 6ebd91c53..c3981bef4 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -409,6 +409,9 @@ public slots: */ void setCategorizedSorting(bool categorized); + /** Activates the view if the item list container gets focus. */ + virtual bool eventFilter(QObject* watched, QEvent* event); + signals: /** * Is emitted if the view has been activated by e. g. a mouse click. @@ -550,9 +553,6 @@ signals: */ void writeStateChanged(bool isFolderWritable); -protected: - virtual void mouseReleaseEvent(QMouseEvent* event); - private slots: /** * Marks the view as active (DolphinView:isActive() will return true) |
