OSDN Git Service

okular: remove incorrect PageViewAnnotator::performRouteMouseOrTabletEvent() QT_NO_TA...
authorIvailo Monev <xakepa10@laimg.moc>
Tue, 4 Feb 2020 04:22:35 +0000 (04:22 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Tue, 4 Feb 2020 04:22:35 +0000 (04:22 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
okular/ui/pageviewannotator.cpp

index 2d6bd42..3114afe 100644 (file)
@@ -787,7 +787,6 @@ QCursor PageViewAnnotator::cursor() const
     return m_engine->cursor();
 }
 
-#ifndef QT_NO_TABLET
 QRect PageViewAnnotator::performRouteMouseOrTabletEvent(const AnnotatorEngine::EventType & eventType, const AnnotatorEngine::Button & button,
                                                         const QPointF & pos, PageViewItem * item )
 {
@@ -865,7 +864,6 @@ QRect PageViewAnnotator::performRouteMouseOrTabletEvent(const AnnotatorEngine::E
 
     return modifiedRect;
 }
-#endif // QT_NO_TABLET
 
 QRect PageViewAnnotator::routeMouseEvent( QMouseEvent * e, PageViewItem * item )
 {