From fb76065a9041fb9c0fef43127509dcdb2478c1ab Mon Sep 17 00:00:00 2001 From: wazlaf Date: Sun, 13 Oct 2002 11:15:57 +0000 Subject: compilation fixes --- (limited to 'noncore') diff --git a/noncore/apps/opie-console/widget_layer.cpp b/noncore/apps/opie-console/widget_layer.cpp index 3875a6e..0364e66 100644 --- a/noncore/apps/opie-console/widget_layer.cpp +++ b/noncore/apps/opie-console/widget_layer.cpp @@ -64,9 +64,6 @@ bool WidgetLayer::eventFilter( QObject *obj, QEvent *e ) } if ( obj != this /* when embedded */ && obj != parent() /* when standalone */ ) return FALSE; // not us - if ( e->type() == QEvent::Wheel) { - QApplication::sendEvent( m_scrollbar, e); - } #ifdef FAKE_CTRL_AND_ALT static bool control = FALSE; @@ -123,14 +120,6 @@ QChar(a,0)); #endif return true; // stop the event } - if ( e->type() == QEvent::Enter ) { - QObject::disconnect( (QObject*)cb, SIGNAL(dataChanged()), - this, SLOT(onClearSelection()) ); - } - if ( e->type() == QEvent::Leave ) { - QObject::connect( (QObject*)cb, SIGNAL(dataChanged()), - this, SLOT(onClearSelection()) ); - } return QFrame::eventFilter( obj, e ); } -- cgit v0.9.0.2