Mercurial > hg > forks > UniversalIndentGUI
changeset 760:49839f3eed83
MainWindow: Release the shared pointer on exit.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1037 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Tue, 12 Apr 2011 20:49:04 +0000 |
parents | 5a27624a035f |
children | c6d54610983b |
files | src/MainWindow.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/MainWindow.h Mon Apr 11 21:09:55 2011 +0000 +++ b/src/MainWindow.h Tue Apr 12 20:49:04 2011 +0000 @@ -49,6 +49,9 @@ public: //! Constructor MainWindow(QString file2OpenOnStart = "", QWidget *parent = NULL); + ~MainWindow() { + _settings.clear(); + } protected: void closeEvent( QCloseEvent *event );