Removed duplicate code block (mis-merge, prolly)

This fixes build with --enable-kde4
(cherry picked from commit ea898caa151fb8e94b6bdb00b1008b6da98fddad)
This commit is contained in:
Katarina Machalkova
2011-04-12 20:29:56 +01:00
committed by Caolán McNamara
parent 67a8788b21
commit f5963905fd
-10
View File
@@ -219,16 +219,6 @@ static bool qt_event_filter( void* m )
return false;
}
static bool ( *old_qt_event_filter )( void* );
static bool qt_event_filter( void* m )
{
if( old_qt_event_filter != NULL && old_qt_event_filter( m ))
return true;
if( SalKDEDisplay::self() && SalKDEDisplay::self()->checkDirectInputEvent( static_cast< XEvent* >( m )))
return true;
return false;
}
void KDEXLib::setupEventLoop()
{
old_qt_event_filter = QAbstractEventDispatcher::instance()->setEventFilter( qt_event_filter );