diff options
author | Katarina Machalkova <kmachalkova@suse.cz> | 2011-04-07 13:11:00 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-12 20:29:56 +0100 |
commit | f5963905fdf39aadf1d1ae6538ceb076a9b99e2c (patch) | |
tree | 2fb52cf744c583acc1876bb5d33abe6b81f73c92 | |
parent | 67a8788b210dfa606ad816e62d2d22d23895cf4f (diff) |
Removed duplicate code block (mis-merge, prolly)
This fixes build with --enable-kde4
(cherry picked from commit ea898caa151fb8e94b6bdb00b1008b6da98fddad)
-rw-r--r-- | vcl/unx/kde4/KDEXLib.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx index 03bcfca8e47e..ce4ea14dadb5 100644 --- a/vcl/unx/kde4/KDEXLib.cxx +++ b/vcl/unx/kde4/KDEXLib.cxx @@ -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 ); |