From 5c11a8e569c9e3dd247bd8fe88d089f175a61fd5 Mon Sep 17 00:00:00 2001
From: con <qtc-committer@nokia.com>
Date: Mon, 25 Oct 2010 16:56:15 +0200
Subject: [PATCH] Saveguard against deletion.

---
 src/plugins/texteditor/findincurrentfile.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/texteditor/findincurrentfile.h b/src/plugins/texteditor/findincurrentfile.h
index c6010dc0e2b..202afda9307 100644
--- a/src/plugins/texteditor/findincurrentfile.h
+++ b/src/plugins/texteditor/findincurrentfile.h
@@ -68,7 +68,7 @@ private slots:
 
 private:
     QPointer<QWidget> m_configWidget;
-    Core::IFile *m_currentFile;
+    QPointer<Core::IFile> m_currentFile;
 };
 
 } // namespace Internal
-- 
GitLab