- Fixed memory leak in torrent addition dialog

This commit is contained in:
Christophe Dumez 2008-12-23 15:07:29 +00:00
commit 3c17a1410b

View file

@ -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;