scripted-diff: Remove Q_FOREACH

-BEGIN VERIFY SCRIPT-
sed -i 's/Q_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ;
-END VERIFY SCRIPT-
This commit is contained in:
Jorge Timón
2017-06-02 03:25:02 +02:00
parent 7c00c26726
commit 18dc3c3962
17 changed files with 29 additions and 29 deletions

View File

@@ -139,10 +139,10 @@ void TrafficGraphWidget::updateRates()
}
float tmax = 0.0f;
Q_FOREACH(float f, vSamplesIn) {
for (float f : vSamplesIn) {
if(f > tmax) tmax = f;
}
Q_FOREACH(float f, vSamplesOut) {
for (float f : vSamplesOut) {
if(f > tmax) tmax = f;
}
fMax = tmax;