mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Use QElapsedTimer instead of QTime
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#ifndef SCROLLMANAGAMENT_H
|
||||
#define SCROLLMANAGAMENT_H
|
||||
|
||||
#include <QTime>
|
||||
#include <QElapsedTimer>
|
||||
#include <QWheelEvent>
|
||||
|
||||
class ScrollManagement
|
||||
@ -18,7 +18,7 @@ public:
|
||||
~ScrollManagement();
|
||||
|
||||
private:
|
||||
QTime *wheelTimer;
|
||||
QElapsedTimer *wheelTimer;
|
||||
int wheelAccumulator;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user