added Destructor's

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-10-04 15:24:33 +00:00
parent 805eecd7bd
commit aa0d56f67f
4 changed files with 16 additions and 1 deletions

View File

@ -46,6 +46,13 @@ ProfileWidget::ProfileWidget(QWidget *parent, Qt::WFlags flags)
loadDialog();
}
/** Destructor. */
ProfileWidget::~ProfileWidget()
{
}
void ProfileWidget::closeEvent (QCloseEvent * event)
{
QWidget::closeEvent(event);

View File

@ -35,6 +35,7 @@ class ProfileWidget : public QWidget
/** Default constructor */
ProfileWidget(QWidget *parent = 0, Qt::WFlags flags = 0);
/** Default destructor */
~ProfileWidget();
protected:

View File

@ -49,6 +49,13 @@ StatusMessage::StatusMessage(QWidget *parent, Qt::WFlags flags)
}
/** Destructor. */
StatusMessage::~StatusMessage()
{
delete _settings;
}
void StatusMessage::closeEvent (QCloseEvent * event)
{
QDialog::closeEvent(event);

View File

@ -37,7 +37,7 @@ class StatusMessage : public QDialog
/** Default constructor */
StatusMessage(QWidget *parent = 0, Qt::WFlags flags = 0);
/** Default destructor */
~StatusMessage();
protected:
void closeEvent (QCloseEvent * event);