mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
- Fixed memory leak in torrent addition dialog
This commit is contained in:
parent
078110851d
commit
3c17a1410b
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
|
|||
}
|
||||
}
|
||||
|
||||
~torrentAdditionDialog() {
|
||||
delete PropDelegate;
|
||||
}
|
||||
|
||||
void showLoad(QString filePath, bool fromScanDir=false, QString from_url=QString::null){
|
||||
this->filePath = filePath;
|
||||
this->fromScanDir = fromScanDir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue