src/file.cpp

changeset 518
623c01862eb8
parent 513
29eb671b34f6
child 519
63135a8abd41
--- a/src/file.cpp	Sat Oct 19 00:39:09 2013 +0300
+++ b/src/file.cpp	Sat Oct 19 01:11:26 2013 +0300
@@ -339,7 +339,7 @@
 		// eventually catch the invokation we throw here and send us back. Though
 		// it's not technically recursion anymore, more like a for loop. :P
 		if (concurrent())
-			QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection, Q_ARG (int, i + 1));
+			QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection, Q_ARG (int, i));
 		else
 			work (i + 1);
 	}

mercurial