various: update Qt code deprecated in 5.15

- Replaces QLinkedList with std::list as recommended by Qt docs.
- Replaces QWheelEvent::delta() with QWheelEvent::angleDelta(). This
  should also benefit trackpad behavior.
This commit is contained in:
itsmattkc
2020-05-27 02:54:05 +10:00
parent da04777a25
commit 3e3cacbc85
12 changed files with 29 additions and 27 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ QFuture<void> ExportTask::DownloadFrame(FramePtr frame, const QByteArray &hash)
return QtConcurrent::run(FrameColorConvert, color_processor_, frame);
}
void ExportTask::FrameDownloaded(const QByteArray &hash, const QLinkedList<rational> &times)
void ExportTask::FrameDownloaded(const QByteArray &hash, const std::list<rational> &times)
{
FramePtr f = rendered_frame_.value(hash);