mirror of
https://github.com/YACReader/yacreader
synced 2025-11-13 05:22:47 -05: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