From 570550864c13348834112b8d005eff35967a3c35 Mon Sep 17 00:00:00 2001 From: jlh Date: Sat, 13 Sep 2008 19:09:44 +0200 Subject: [PATCH] Recorder: Use QPointer also for skype object Somehow I forgot this in commit fc32f59. This caused a crash if the lockfile was already locked and Recorder was immediately destroyed, because the skype member variable wasn't initialized, but got deleted in the destructor. --- recorder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recorder.h b/recorder.h index 57df6d9..e72d99f 100644 --- a/recorder.h +++ b/recorder.h @@ -69,7 +69,7 @@ private: QString getConfigFile() const; private: - Skype *skype; + QPointer skype; QPointer callHandler; QPointer preferencesDialog; QPointer trayIcon; -- 2.11.4.GIT