]> Some of my projects - anidbudpclient.git/commitdiff
Possible fix for weird crash.
authorAPTX <redacted>
Thu, 12 Jan 2012 20:23:13 +0000 (21:23 +0100)
committerAPTX <redacted>
Thu, 12 Jan 2012 20:23:13 +0000 (21:23 +0100)
file.cpp

index 61f8bd9..c1583b8 100644 (file)
--- a/file.cpp
+++ b/file.cpp
@@ -499,6 +499,9 @@ void File::startAdding()
                return;
        }
 
+       if (addingState() == InProgress)
+               return;
+
        if (m_lid)
        {
                updateStatus(Adding, Success);