Merge pull request from SimonWalton-HiFi/declare-metatype

Add a Q_DECLARE_METATYPE in TextureCache.
This commit is contained in:
John Conklin II 2018-03-08 09:37:06 -08:00 committed by GitHub
commit 1341774450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,6 +134,8 @@ private:
using NetworkTexturePointer = QSharedPointer<NetworkTexture>;
Q_DECLARE_METATYPE(QWeakPointer<NetworkTexture>)
/// Stores cached textures, including render-to-texture targets.
class TextureCache : public ResourceCache, public Dependency {
Q_OBJECT