Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Make multi-clicking work with touch painting
Carsten Hartenfels2f85d2621837
diff --git a/libs/flake/KoToolProxy.cpp b/libs/flake/KoToolProxy.cppindex 8d81083cbb..239aac5e74 100644--- a/libs/flake/KoToolProxy.cpp+++ b/libs/flake/KoToolProxy.cpp@@ -403,7 +403,7 @@ void KoToolProxy::touchEvent(QTouchEvent* event, const QPointF& point)switch (event->touchPointStates()){case Qt::TouchPointPressed:- d->activeTool->mousePressEvent(&ev);+ countMultiClick(&ev, QEvent::TouchBegin);break;case Qt::TouchPointMoved:d->activeTool->mouseMoveEvent(&ev);