mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 12:42:41 +01:00
Qt: use shared_mutex in movie_item
This commit is contained in:
parent
6915025c7e
commit
fa618a2bf7
@ -1,13 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "util/atomic.hpp"
|
||||
#include "Utilities/mutex.h"
|
||||
|
||||
#include <QTableWidgetItem>
|
||||
#include <QMovie>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
|
||||
@ -71,7 +71,7 @@ public:
|
||||
return m_size_on_disk_loading_aborted;
|
||||
}
|
||||
|
||||
std::mutex pixmap_mutex;
|
||||
shared_mutex pixmap_mutex;
|
||||
|
||||
private:
|
||||
std::shared_ptr<QMovie> m_movie;
|
||||
|
Loading…
Reference in New Issue
Block a user