various: greatly simplified job times

Hopefully this doesn't break everything
This commit is contained in:
itsmattkc
2021-07-11 23:33:21 -07:00
parent 43d3fc57f2
commit 310fd3541a
28 changed files with 157 additions and 100 deletions
+3 -2
View File
@@ -24,6 +24,7 @@
#include <QMutex>
#include <QObject>
#include "common/jobtime.h"
#include "common/timerange.h"
namespace olive {
@@ -63,7 +64,7 @@ public:
QString GetCacheDirectory() const;
public slots:
void Invalidate(const TimeRange& r, qint64 job_time);
void Invalidate(const TimeRange& r);
void InvalidateAll();
@@ -93,7 +94,7 @@ protected:
struct JobIdentifier {
TimeRange range;
qint64 job_time;
JobTime job_time;
};
QList<JobIdentifier> jobs_;