mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 16:42:30 -06:00
Don't forget to delete TorrentContentAdaptor instance
PR #19825. Closes #19816.
This commit is contained in:
committed by
GitHub
parent
a689ccf798
commit
e7f38ec6ce
@@ -29,6 +29,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "base/bittorrent/addtorrentparams.h"
|
||||
@@ -85,7 +87,7 @@ private:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
Ui::AddNewTorrentDialog *m_ui = nullptr;
|
||||
TorrentContentAdaptor *m_contentAdaptor = nullptr;
|
||||
std::unique_ptr<TorrentContentAdaptor> m_contentAdaptor;
|
||||
BitTorrent::TorrentDescriptor m_torrentDescr;
|
||||
BitTorrent::AddTorrentParams m_torrentParams;
|
||||
int m_savePathIndex = -1;
|
||||
|
||||
Reference in New Issue
Block a user