fix: raw-pointers and leaks in ModFolderLoadTask
Co-authored-by: timoreo <contact@timoreo.fr> Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
@ -48,7 +48,7 @@ class ModFolderLoadTask : public QObject, public QRunnable
|
||||
Q_OBJECT
|
||||
public:
|
||||
struct Result {
|
||||
QMap<QString, Mod*> mods;
|
||||
QMap<QString, Mod::Ptr> mods;
|
||||
};
|
||||
using ResultPtr = std::shared_ptr<Result>;
|
||||
ResultPtr result() const {
|
||||
|
Reference in New Issue
Block a user