From: APTX Date: Thu, 12 Jan 2012 20:23:13 +0000 (+0100) Subject: Possible fix for weird crash. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=fd160e7969432f49b85a59a1ebc5d6e161a7c45d;p=anidbudpclient.git Possible fix for weird crash. --- diff --git a/file.cpp b/file.cpp index 61f8bd9..c1583b8 100644 --- a/file.cpp +++ b/file.cpp @@ -499,6 +499,9 @@ void File::startAdding() return; } + if (addingState() == InProgress) + return; + if (m_lid) { updateStatus(Adding, Success);