diff options
| author | Peter Penz <[email protected]> | 2007-03-10 18:42:19 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-10 18:42:19 +0000 |
| commit | 1959f9c867e41528b154cb25d02957c1c8928a69 (patch) | |
| tree | dc99e419f01982aead3aa893f3ff355f071e864a /src | |
| parent | e41ebdc5282abab74b3d9fef192a2ac69c77f05e (diff) | |
support return key for navigation (thanks to Luca Gugelmann for the patch!)
svn path=/trunk/KDE/kdebase/apps/; revision=641273
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphindetailsview.cpp | 2 | ||||
| -rw-r--r-- | src/dolphiniconsview.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 683a97e4e..d0556f5b1 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -60,6 +60,8 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr connect(this, SIGNAL(clicked(const QModelIndex&)), controller, SLOT(triggerItem(const QModelIndex&))); + connect(this, SIGNAL(activated(const QModelIndex&)), + controller, SLOT(triggerItem(const QModelIndex&))); connect(controller, SIGNAL(zoomIn()), this, SLOT(zoomIn())); diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index dcc3a49c8..c2ba82d0d 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -42,6 +42,8 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controlle connect(this, SIGNAL(clicked(const QModelIndex&)), controller, SLOT(triggerItem(const QModelIndex&))); + connect(this, SIGNAL(activated(const QModelIndex&)), + controller, SLOT(triggerItem(const QModelIndex&))); connect(controller, SIGNAL(showPreviewChanged(bool)), this, SLOT(updateGridSize(bool))); connect(controller, SIGNAL(zoomIn()), |
