Removed duplicate code block (mis-merge, prolly)
This fixes build with --enable-kde4 (cherry picked from commit ea898caa151fb8e94b6bdb00b1008b6da98fddad)
This commit is contained in:
committed by
Caolán McNamara
parent
67a8788b21
commit
f5963905fd
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user