src/download.cpp

changeset 503
bebe09014dd6
parent 493
16766ac1bbd9
child 504
6a1fa662bfc1
--- a/src/download.cpp	Wed Oct 16 16:05:51 2013 +0300
+++ b/src/download.cpp	Wed Oct 16 16:40:42 2013 +0300
@@ -227,7 +227,7 @@
 {	const int row = ui->progress->rowCount();
 
 	// Don't download files repeadetly.
-	if (m_filesToDownload.find (dest) != -1u)
+	if (m_filesToDownload.indexOf (dest) != -1)
 		return;
 
 	modifyDest (dest);

mercurial