fix(memory leak): IndexedPack too large to live inside a qlist without pointers ()
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
#include <QString>
|
||||
#include <QVariant>
|
||||
#include <QVector>
|
||||
#include <memory>
|
||||
|
||||
class QIODevice;
|
||||
|
||||
@ -83,6 +84,8 @@ struct ExtraPackData {
|
||||
};
|
||||
|
||||
struct IndexedPack {
|
||||
using Ptr = std::shared_ptr<IndexedPack>;
|
||||
|
||||
QVariant addonId;
|
||||
ResourceProvider provider;
|
||||
QString name;
|
||||
|
Reference in New Issue
Block a user