r22359 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Tue Jan 23 23:13:51 UTC 2018
Author: jghali
Date: Tue Jan 23 23:13:51 2018
New Revision: 22359
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22359
Log:
#15111: Fix some compiler warnings
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22359&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Tue Jan 23 23:13:51 2018
@@ -6962,7 +6962,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]);
}
}
@@ -8307,7 +8307,7 @@
QDir transDir(transPath, "*.*", QDir::Name, QDir::Files | QDir::NoSymLinks);
if ((transDir.exists()) && (transDir.count() != 0))
{
- for (int i = 0; i < transDir.count(); i++)
+ for (uint i = 0; i < transDir.count(); i++)
{
QFileInfo fi(transPath + transDir[i]);
QString ext(fi.suffix().toLower());
More information about the scribus-commit
mailing list