fixed memory leak in SharedFilesDialog where destructor was not freeing the tree models

This commit is contained in:
csoler 2020-08-15 13:18:39 +02:00
parent 9ae790e80b
commit 98edbc55d2
2 changed files with 708 additions and 703 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,10 +38,10 @@ class SharedFilesDialog : public RsAutoUpdatePage
public:
/** Default Constructor */
SharedFilesDialog(RetroshareDirModel *tree_model,RetroshareDirModel *flat_model,QWidget *parent = 0);
SharedFilesDialog(bool remote_mode,QWidget *parent = 0);
/** Default Destructor */
~SharedFilesDialog() {}
~SharedFilesDialog() ;
virtual void hideEvent(QHideEvent *) ;
virtual void showEvent(QShowEvent *) ;