mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-03 02:27:08 -04:00
fixed memory leak in SharedFilesDialog where destructor was not freeing the tree models
This commit is contained in:
parent
9ae790e80b
commit
98edbc55d2
2 changed files with 708 additions and 703 deletions
File diff suppressed because it is too large
Load diff
|
@ -38,10 +38,10 @@ class SharedFilesDialog : public RsAutoUpdatePage
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/** Default Constructor */
|
/** Default Constructor */
|
||||||
SharedFilesDialog(RetroshareDirModel *tree_model,RetroshareDirModel *flat_model,QWidget *parent = 0);
|
SharedFilesDialog(bool remote_mode,QWidget *parent = 0);
|
||||||
|
|
||||||
/** Default Destructor */
|
/** Default Destructor */
|
||||||
~SharedFilesDialog() {}
|
~SharedFilesDialog() ;
|
||||||
|
|
||||||
virtual void hideEvent(QHideEvent *) ;
|
virtual void hideEvent(QHideEvent *) ;
|
||||||
virtual void showEvent(QShowEvent *) ;
|
virtual void showEvent(QShowEvent *) ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue