Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ac5c02f8 authored by Laurent Montel's avatar Laurent Montel 😁

Const(ify

parent 8cd53136
......@@ -108,7 +108,7 @@ void GravatarCache::clearAllCache()
if (!path.isEmpty()) {
QDir dir(path);
if (dir.exists()) {
QFileInfoList list = dir.entryInfoList(); // get list of matching files and delete all
const QFileInfoList list = dir.entryInfoList(); // get list of matching files and delete all
QFileInfo it;
Q_FOREACH( it, list ) {
dir.remove(it.fileName());
......
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