summaryrefslogtreecommitdiffstats
path: root/fileview.cpp
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-10 15:53:58 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-10 15:53:58 +0000
commit4f1e2ee030f01facefab808f687d301c37707f74 (patch)
treede032f70dc137e433b1875e3067e3cf33d130989 /fileview.cpp
parentb6a85b8b76a4e86783c4c83048918d30bb36bdb8 (diff)
downloadSheMov-4f1e2ee030f01facefab808f687d301c37707f74.tar.gz
SheMov-4f1e2ee030f01facefab808f687d301c37707f74.tar.bz2
SheMov-4f1e2ee030f01facefab808f687d301c37707f74.zip
-fixed selection handling
-implemented proper window titles (not yet working) git-svn-id: file:///var/svn/repos2/shemov/trunk@382 f440f766-f032-0410-8965-dc7d17de2ca0
Diffstat (limited to 'fileview.cpp')
-rw-r--r--fileview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/fileview.cpp b/fileview.cpp
index decf8e5..31c9aca 100644
--- a/fileview.cpp
+++ b/fileview.cpp
@@ -71,10 +71,11 @@ void FileView::keyPressEvent(QKeyEvent *e){
emit upDir();
e->accept();
break;
- /*case Qt::Key_Enter:
- emit showItem();
+ case Qt::Key_Enter:
+ case Qt::Key_Return:
+ emit enterPressed(currentIndex());
e->accept();
- break;*/
+ break;
default:
QTreeView::keyPressEvent(e);
}