We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969a763 commit 9cb1321Copy full SHA for 9cb1321
src/bin/patchmanager-daemon/patchmanagerobject.cpp
@@ -3058,13 +3058,13 @@ void PatchManagerFilter::setup()
3058
setMaxCost(HOTCACHE_COST_MAX);
3059
3060
// use a cost of 1 here so they have less chance to be evicted
3061
- for(const QString &entry : etcList) {
+ foreach(const QString &entry, etcList) {
3062
if (QFileInfo::exists(entry))
3063
insert(entry, new QObject(), HOTCACHE_COST_STRONG);
3064
}
3065
3066
// they may be wrong, so use a higher cost than default
3067
- for( const QString &entry : libList) {
+ foreach(const QString &entry, libList) {
3068
QString libentry(entry);
3069
if (Q_PROCESSOR_WORDSIZE == 4) { // 32 bit
3070
libentry.replace("lib64", "lib");
0 commit comments