fixed: couldn't open larger files because of a type mismatch in moc method calling, leading into runtime problems

Fri, 23 Aug 2013 01:04:13 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 23 Aug 2013 01:04:13 +0300
changeset 477
73d65b279ec2
parent 476
baa35b4b67dc
child 478
c7f8989c995f

fixed: couldn't open larger files because of a type mismatch in moc method calling, leading into runtime problems

src/file.cpp file | annotate | diff | comparison | revisions
--- a/src/file.cpp	Fri Aug 23 00:54:31 2013 +0300
+++ b/src/file.cpp	Fri Aug 23 01:04:13 2013 +0300
@@ -308,7 +308,7 @@
 	
 	if (!done()) {
 		if (concurrent())
-			QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection, Q_ARG (ulong, i + 1));
+			QMetaObject::invokeMethod (this, "work", Qt::QueuedConnection, Q_ARG (int, i + 1));
 		else
 			work (i + 1);
 	}

mercurial