mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
optimize assert in QGestureManager::deliverEvents()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
710ffa4f77
commit
1198f4f1b2
1 changed files with 1 additions and 3 deletions
|
@ -587,9 +587,7 @@ void QGestureManager::deliverEvents(const QSet<QGesture *> &gestures,
|
|||
m_gestureTargets.insert(gesture, target);
|
||||
}
|
||||
|
||||
Qt::GestureType gestureType = gesture->gestureType();
|
||||
Q_ASSERT(gestureType != Qt::CustomGesture);
|
||||
Q_UNUSED(gestureType);
|
||||
Q_ASSERT(gesture->gestureType() != Qt::CustomGesture);
|
||||
|
||||
if (target) {
|
||||
if (gesture->state() == Qt::GestureStarted) {
|
||||
|
|
Loading…
Add table
Reference in a new issue