# HG changeset patch # User Santeri Piippo # Date 1377209053 -10800 # Node ID 73d65b279ec2be5a4b568a28c2f1d6ca29b619c4 # Parent baa35b4b67dc946ca97bfabe01cf75054d2e6739 fixed: couldn't open larger files because of a type mismatch in moc method calling, leading into runtime problems diff -r baa35b4b67dc -r 73d65b279ec2 src/file.cpp --- 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); }