comparison data/model/ImageModel.h @ 1692:73077ec5aed6 single-point

Fix some compiler warnings
author Chris Cannam
date Thu, 25 Apr 2019 11:30:38 +0100
parents 0d89abd631ac
children 78fe29adfd16
comparison
equal deleted inserted replaced
1689:d7b04b0ed056 1692:73077ec5aed6
53 DeferredNotifier::NOTIFY_DEFERRED), 53 DeferredNotifier::NOTIFY_DEFERRED),
54 m_completion(100) { 54 m_completion(100) {
55 } 55 }
56 56
57 QString getTypeName() const override { return tr("Image"); } 57 QString getTypeName() const override { return tr("Image"); }
58 bool isSparse() const { return true; } 58 bool isSparse() const override { return true; }
59 bool isOK() const override { return true; } 59 bool isOK() const override { return true; }
60 60
61 sv_frame_t getStartFrame() const override { 61 sv_frame_t getStartFrame() const override {
62 return m_events.getStartFrame(); 62 return m_events.getStartFrame();
63 } 63 }
69 } 69 }
70 70
71 sv_samplerate_t getSampleRate() const override { return m_sampleRate; } 71 sv_samplerate_t getSampleRate() const override { return m_sampleRate; }
72 int getResolution() const { return m_resolution; } 72 int getResolution() const { return m_resolution; }
73 73
74 int getCompletion() const { return m_completion; } 74 int getCompletion() const override { return m_completion; }
75 75
76 void setCompletion(int completion, bool update = true) { 76 void setCompletion(int completion, bool update = true) {
77 77
78 { QMutexLocker locker(&m_mutex); 78 { QMutexLocker locker(&m_mutex);
79 if (m_completion == completion) return; 79 if (m_completion == completion) return;