Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 1ac13412 authored by Laurent Montel's avatar Laurent Montel 😁

Use const'ref

parent 57c89f5e
......@@ -109,8 +109,7 @@ void GravatarCache::clearAllCache()
QDir dir(path);
if (dir.exists()) {
const QFileInfoList list = dir.entryInfoList(); // get list of matching files and delete all
QFileInfo it;
Q_FOREACH( it, list ) {
Q_FOREACH( const QFileInfo &it, list ) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment