diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2020-05-14 21:04:02 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-05-29 15:19:07 +0000 |
commit | 0fb5e86053427aa527d3780d279d7faf5b3469bf (patch) | |
tree | 4360c46704caa3293086848939d9e278b40ca44e /examples/multimedia/audiodecoder/main.cpp | |
parent | f60c028d522ce3e4ed01cf00e6601956a1f0ed01 (diff) | |
parent | cf28371c1edd0c6d04c4518cdf3270067d0cf8a7 (diff) |
Merge "Merge remote-tracking branch 'origin/5.15' into dev"
Diffstat (limited to 'examples/multimedia/audiodecoder/main.cpp')
-rw-r--r-- | examples/multimedia/audiodecoder/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/multimedia/audiodecoder/main.cpp b/examples/multimedia/audiodecoder/main.cpp index 46e70445e..9c536ef0a 100644 --- a/examples/multimedia/audiodecoder/main.cpp +++ b/examples/multimedia/audiodecoder/main.cpp @@ -63,10 +63,10 @@ int main(int argc, char *argv[]) QTextStream cout(stdout, QIODevice::WriteOnly); if (app.arguments().size() < 2) { - cout << "Usage: audiodecoder [-p] [-pd] SOURCEFILE [TARGETFILE]" << Qt::endl; - cout << "Set -p option if you want to play output file." << Qt::endl; - cout << "Set -pd option if you want to play output file and delete it after successful playback." << Qt::endl; - cout << "Default TARGETFILE name is \"out.wav\" in the same directory as the source file." << Qt::endl; + cout << "Usage: audiodecoder [-p] [-pd] SOURCEFILE [TARGETFILE]\n"; + cout << "Set -p option if you want to play output file.\n"; + cout << "Set -pd option if you want to play output file and delete it after successful playback.\n"; + cout << "Default TARGETFILE name is \"out.wav\" in the same directory as the source file.\n"; return 0; } @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) int sourceFileIndex = (isPlayback || isDelete) ? 2 : 1; if (app.arguments().size() <= sourceFileIndex) { - cout << "Error: source filename is not specified." << Qt::endl; + cout << "Error: source filename is not specified.\n"; return 0; } sourceFile.setFile(app.arguments().at(sourceFileIndex)); |