MCPcopy Create free account
hub / github.com/KDE/kdenlive / foreach

Function foreach

testingArea/audioOffset.cpp:49–69  ·  view source on GitHub ↗

Load arguments

Source from the content-addressed store, hash-verified

47
48 // Load arguments
49 foreach (const QString &str, args) {
50
51 if (str.startsWith(QLatin1String("--profile="))) {
52 QString s = str;
53 s.remove(0, QStringLiteral("--profile=").length());
54 profile = s.toStdString();
55 args.removeOne(str);
56
57 } else if (str == "-h" || str == "--help") {
58 printUsage(argv[0]);
59 return 0;
60
61 } else if (str == "--no-images") {
62 saveImages = false;
63 args.removeOne(str);
64
65 } else if (str == "--fft") {
66 useFFT = true;
67 args.removeOne(str);
68 }
69 }
70
71 if (args.length() < 2) {
72 printUsage(argv[0]);

Callers

nothing calls this directly

Calls 2

printUsageFunction · 0.85
removeMethod · 0.80

Tested by

no test coverage detected