aboutsummaryrefslogtreecommitdiff
path: root/stfexporter.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2021-09-19 22:58:10 +0200
committerJavier <dev.git@javispedro.com>2021-09-19 22:58:10 +0200
commit8f5e61797d35ef376f9eb7af78731daec9a49091 (patch)
tree25e0a2c1afeb777f440a60f53adeae57a8f3eac9 /stfexporter.cc
parent3c3dd84c51c75f2bced5bcf96ad83920bfffe86b (diff)
downloadscribiu-8f5e61797d35ef376f9eb7af78731daec9a49091.tar.gz
scribiu-8f5e61797d35ef376f9eb7af78731daec9a49091.zip
minor cleanup
Diffstat (limited to 'stfexporter.cc')
-rw-r--r--stfexporter.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/stfexporter.cc b/stfexporter.cc
index 84eaad7..fcd7194 100644
--- a/stfexporter.cc
+++ b/stfexporter.cc
@@ -75,6 +75,7 @@ public:
}
bool startStroke(const QPoint& p, int force, qint64 time) {
+ Q_UNUSED(force);
if (_startTime == 0) {
_startTime = time;
}
@@ -89,6 +90,8 @@ public:
}
bool strokePoint(const QPoint& p, int force, qint64 time) {
+ Q_UNUSED(force);
+ Q_UNUSED(time);
QPoint delta = p - _lastP;
_out->writeCharacters(QString(", %1 %2").arg(delta.x()).arg(delta.y()));
@@ -98,6 +101,7 @@ public:
}
bool endStroke(qint64 time) {
+ Q_UNUSED(time);
_out->writeEndElement();
return true;
}