diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2022-06-26 21:42:44 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2022-06-26 21:42:44 +0100 |
commit | cec2190aa2a5d65d3e09ae26dd5aafeaa5007862 (patch) | |
tree | 3adfa5ef0125e39dc1d388bdf885c0529c6fceb1 /Core.h | |
parent | 08b0288421b2cd69bbfd8a8a109572f04df69bbe (diff) |
New upstream version 2.2.6.0
Diffstat (limited to 'Core.h')
-rwxr-xr-x | Core.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ #include <QString> #include <QList> #include <QTimer> -#include <QTime> +#include <QElapsedTimer> #include <QFile> #include <QUrl> #ifndef NOAUDIO @@ -53,6 +53,7 @@ class Core : public QObject struct CopyInstance { unsigned int id; + QElapsedTimer lastProgressionTime;//to compute the speed in B/s PluginInterface_CopyEngine * engine; PluginInterface_Themes * interface; bool ignoreMode; @@ -73,7 +74,7 @@ class Core : public QObject Ultracopier::CopyType type; Ultracopier::TransferListOperation transferListOperation; bool haveError; - QTime lastConditionalSync; + QElapsedTimer lastConditionalSync; QTimer *nextConditionalSync; bool copyEngineIsSync; bool canceled;//to not try groun when is in canceling @@ -124,7 +125,6 @@ class Core : public QObject unsigned int incrementId(); unsigned int nextId; std::vector<unsigned int> idList; - QTime lastProgressionTime; QTimer forUpateInformation;///< used to call \see periodicSynchronization() void resetSpeedDetected(const unsigned int &bindex); |