r22710 by jghali - fix signed/unsigned comparison warning

scribus-commit scribus-commit at lists.scribus.net
Sun Sep 30 20:06:20 UTC 2018


Author: jghali
Date: Sun Sep 30 20:06:19 2018
New Revision: 22710

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22710
Log:
fix signed/unsigned comparison warning

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22710&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Sun Sep 30 20:06:19 2018
@@ -6939,7 +6939,7 @@
 	QDir d(prefsManager->preferencesLocation()+"/", "sc.*", QDir::Name, QDir::Files | QDir::NoSymLinks);
 	if ((d.exists()) && (d.count() != 0))
 	{
-		for (int i = 0; i < d.count(); i++)
+		for (uint i = 0; i < d.count(); i++)
 			QFile::remove(prefsManager->preferencesLocation() +"/" + d[i]);
 	}
 }




More information about the scribus-commit mailing list