Use QElapsedTimer instead of QTime

This commit is contained in:
Luis Ángel San Martín
2021-10-01 19:56:49 +02:00
parent bdb23de74a
commit b83d7150d7
3 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@
ScrollManagement::ScrollManagement()
{
wheelTimer = new QTime();
wheelTimer = new QElapsedTimer();
wheelTimer->start();
wheelAccumulator = 0;
}