From af59b5b45adae043cfe1bbd2afb766955a3279e6 Mon Sep 17 00:00:00 2001 From: tux3 Date: Tue, 15 Dec 2015 21:06:55 +0100 Subject: [PATCH] Fix IPC not taking ownership after crash In case a previous instance crashed, we were trying to activate the current owner before even checking if it was still alive, this resulted in qTox needing to be restarted twice after a crash. --- src/ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.cpp b/src/ipc.cpp index b8ab7cd6b..a959d6596 100644 --- a/src/ipc.cpp +++ b/src/ipc.cpp @@ -69,7 +69,7 @@ IPC::IPC() return; // We won't be able to do any IPC without being attached, let's get outta here } - timer.start(); + processEvents(); } IPC::~IPC()