Don't use deprecated QTextStreamFunctions::flush()

Qt doc states: "If QTextStream operates on a string, this function does
nothing". So remove it.
This commit is contained in:
Chocobo1 2020-06-04 13:02:39 +08:00
parent 4a98341038
commit c239568658
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 1 additions and 2 deletions

View file

@ -565,7 +565,6 @@ QString makeUsage(const QString &prgName)
<< QLatin1String("QBT_NO_SPLASH=1 ") << prgName << '\n'
<< wrapText(QObject::tr("Command line parameters take precedence over environment variables"), 0) << '\n';
stream << flush;
return text;
}