diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2011-09-19 10:29:54 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-09-20 12:01:33 +0200 |
commit | d52d4ccd93531e8438894e10ea804acbd7242334 (patch) | |
tree | aa5fb5bf42391948a42d6e6b00a2584c7bf5d3e9 /src/plugins/texteditor/basefilefind.h | |
parent | 9b8b1ad3dbb9e8e86e96b1f0332f2533907e7956 (diff) | |
download | qt-creator-d52d4ccd93531e8438894e10ea804acbd7242334.tar.gz |
Delete the watcher to free the qfuture and its resources.
Change-Id: I4847c23e99aeabb99d3bb557b70a4985b3675b97
Reviewed-on: http://codereview.qt-project.org/5145
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/texteditor/basefilefind.h')
-rw-r--r-- | src/plugins/texteditor/basefilefind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/basefilefind.h b/src/plugins/texteditor/basefilefind.h index d3505d0da4..be7bf1ddc2 100644 --- a/src/plugins/texteditor/basefilefind.h +++ b/src/plugins/texteditor/basefilefind.h @@ -106,7 +106,7 @@ private: QPointer<Find::SearchResult> m_currentSearch; int m_currentSearchCount; - QFutureWatcher<Utils::FileSearchResultList> m_watcher; + QFutureWatcher<Utils::FileSearchResultList> *m_watcher; bool m_isSearching; QPointer<Find::IFindSupport> m_currentFindSupport; |