diff --git a/retroshare-gui/src/gui/profile/ProfileWidget.cpp b/retroshare-gui/src/gui/profile/ProfileWidget.cpp index 9847ba6e9..e19af836f 100644 --- a/retroshare-gui/src/gui/profile/ProfileWidget.cpp +++ b/retroshare-gui/src/gui/profile/ProfileWidget.cpp @@ -46,6 +46,13 @@ ProfileWidget::ProfileWidget(QWidget *parent, Qt::WFlags flags) loadDialog(); } +/** Destructor. */ +ProfileWidget::~ProfileWidget() +{ + +} + + void ProfileWidget::closeEvent (QCloseEvent * event) { QWidget::closeEvent(event); diff --git a/retroshare-gui/src/gui/profile/ProfileWidget.h b/retroshare-gui/src/gui/profile/ProfileWidget.h index 622190230..5f1c3733f 100644 --- a/retroshare-gui/src/gui/profile/ProfileWidget.h +++ b/retroshare-gui/src/gui/profile/ProfileWidget.h @@ -35,6 +35,7 @@ class ProfileWidget : public QWidget /** Default constructor */ ProfileWidget(QWidget *parent = 0, Qt::WFlags flags = 0); /** Default destructor */ + ~ProfileWidget(); protected: diff --git a/retroshare-gui/src/gui/profile/StatusMessage.cpp b/retroshare-gui/src/gui/profile/StatusMessage.cpp index 820abc91c..63585f969 100644 --- a/retroshare-gui/src/gui/profile/StatusMessage.cpp +++ b/retroshare-gui/src/gui/profile/StatusMessage.cpp @@ -49,6 +49,13 @@ StatusMessage::StatusMessage(QWidget *parent, Qt::WFlags flags) } +/** Destructor. */ +StatusMessage::~StatusMessage() +{ + delete _settings; + +} + void StatusMessage::closeEvent (QCloseEvent * event) { QDialog::closeEvent(event); diff --git a/retroshare-gui/src/gui/profile/StatusMessage.h b/retroshare-gui/src/gui/profile/StatusMessage.h index 04536adef..5a68158c4 100644 --- a/retroshare-gui/src/gui/profile/StatusMessage.h +++ b/retroshare-gui/src/gui/profile/StatusMessage.h @@ -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);