mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
Use auto here too
This commit is contained in:
parent
f1c6c15b06
commit
297b168a52
@ -72,8 +72,8 @@ int main(int argc, char **argv)
|
||||
if (parser.isSet(listformats)) {
|
||||
QTextStream out(stdout);
|
||||
out << "File formats:\n";
|
||||
const QList<QByteArray> lstSupportedFormats = QImageReader::supportedImageFormats();
|
||||
for (const QByteArray &fmt : lstSupportedFormats) {
|
||||
const auto lstSupportedFormats = QImageReader::supportedImageFormats();
|
||||
for (const auto &fmt : lstSupportedFormats) {
|
||||
out << " " << fmt << '\n';
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user