Commit f0971a2d authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove unused variables

parent 13624878
......@@ -115,7 +115,6 @@ Touch::~Touch()
bool Touch::eventFilter(QObject*, QEvent* event)
{
if (event->type() == QEvent::TouchBegin) {
QTouchEvent* touchEvent = static_cast<QTouchEvent*>(event);
d->mLastTouchTimeStamp = QDateTime::currentMSecsSinceEpoch();
const QPoint pos = Touch_Helper::simpleTouchPosition(event);
touchToMouseMove(pos, event, Qt::NoButton);
......@@ -133,7 +132,6 @@ bool Touch::eventFilter(QObject*, QEvent* event)
return true;
}
if (event->type() == QEvent::TouchEnd) {
QTouchEvent* touchEvent = static_cast<QTouchEvent*>(event);
d->mLastTouchTimeStamp = QDateTime::currentMSecsSinceEpoch();
}
if (event->type() == QEvent::Gesture) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment