Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Gwenview
Commits
f0971a2d
Commit
f0971a2d
authored
Nov 17, 2020
by
Friedrich W. H. Kossebau
Browse files
Remove unused variables
parent
13624878
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/touch/touch.cpp
View file @
f0971a2d
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment