src/primitives.cpp

changeset 498
791c831c8020
parent 497
c51941e590b6
child 500
cad8cdc42a64
--- a/src/primitives.cpp	Sat Oct 05 12:51:13 2013 +0300
+++ b/src/primitives.cpp	Sat Oct 05 15:18:47 2013 +0300
@@ -100,8 +100,8 @@
 	m_prims.clear();
 
 	QDir dir (LDPaths::prims());
-	ulong baselen = dir.absolutePath().length();
-	ulong i = 0;
+	int baselen = dir.absolutePath().length();
+	int i = 0;
 	List<str> fnames;
 
 	assert (dir.exists());
@@ -155,8 +155,8 @@
 	PrimitiveLister* lister = new PrimitiveLister;
 	QThread* listerThread = new QThread;
 	lister->moveToThread (listerThread);
-	connect (lister, SIGNAL (starting (ulong)), g_win, SLOT (primitiveLoaderStart (ulong)));
-	connect (lister, SIGNAL (update (ulong)), g_win, SLOT (primitiveLoaderUpdate (ulong)));
+	connect (lister, SIGNAL (starting (int)), g_win, SLOT (primitiveLoaderStart (int)));
+	connect (lister, SIGNAL (update (int)), g_win, SLOT (primitiveLoaderUpdate (int)));
 	connect (lister, SIGNAL (workDone()), g_win, SLOT (primitiveLoaderEnd()));
 	connect (listerThread, SIGNAL (started()), lister, SLOT (work()));
 	connect (listerThread, SIGNAL (finished()), lister, SLOT (deleteLater()));

mercurial