From c968f44205a5da7dc37029e701f527450692e39a Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 07 Apr 2004 23:57:11 +0000 Subject: Enter folders on Return --- diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index c07a1e5..7e4164b 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp @@ -127,6 +127,8 @@ PIconView::PIconView( QWidget* wid, Opie::Core::OConfig* cfg ) m_view= new QIconView( this ); connect(m_view, SIGNAL(clicked(QIconViewItem*) ), this, SLOT(slotClicked(QIconViewItem*)) ); + connect(m_view, SIGNAL(returnPressed(QIconViewItem*)), + this, SLOT(slotClicked(QIconViewItem*)) ); m_view->setArrangement( QIconView::LeftToRight ); m_view->setItemTextPos( QIconView::Right ); @@ -411,7 +413,6 @@ void PIconView::slotBeam() { connect( ir, SIGNAL(done(Ir*)), this, SLOT(slotBeamDone(Ir*))); ir->send(pa, tr( "Image" ) ); - } /* -- cgit v0.9.0.2