mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 17:35:00 -06:00
- Fixed memory leak in torrent addition dialog
This commit is contained in:
@@ -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){
|
void showLoad(QString filePath, bool fromScanDir=false, QString from_url=QString::null){
|
||||||
this->filePath = filePath;
|
this->filePath = filePath;
|
||||||
this->fromScanDir = fromScanDir;
|
this->fromScanDir = fromScanDir;
|
||||||
|
|||||||
Reference in New Issue
Block a user