mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
suppressed memory leak in GUI
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4067 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
28ebbf0b2e
commit
3ae378d9b9
3 changed files with 43 additions and 14 deletions
|
@ -17,6 +17,14 @@ RsAutoUpdatePage::RsAutoUpdatePage(int ms_update_period,QWidget *parent)
|
|||
_timer->start() ;
|
||||
}
|
||||
|
||||
RsAutoUpdatePage::~RsAutoUpdatePage()
|
||||
{
|
||||
if(_timer != NULL)
|
||||
delete _timer ;
|
||||
|
||||
_timer = NULL ;
|
||||
}
|
||||
|
||||
void RsAutoUpdatePage::showEvent(QShowEvent *event)
|
||||
{
|
||||
//std::cout << "RsAutoUpdatePage::showEvent() In show event !!" << std::endl ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue