diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2024-12-29 15:17:37 -0300 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-01-13 09:04:21 -0600 |
| commit | 24b5cea95c710cb741963e14972ae8d612267ef6 (patch) | |
| tree | dc024f7a98fcec7f945eb7597705a50feb7891f3 /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 2d40e30e3480726310ab15dac94872c59ee4714c (diff) | |
Bootstrap: remove the QDebug streaming class
And fix some compilation bugs if QT_NO_DEBUG_STREAM is defined.
Drive-by fix the grammar in the qcommandlineparser.cpp qWarning().
Change-Id: Ia9287ea189ae4a4b7545fffdbff7dbb9196de519
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
| -rw-r--r-- | src/corelib/tools/qcommandlineparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qcommandlineparser.cpp b/src/corelib/tools/qcommandlineparser.cpp index 21de967a80d..2e8eb5665e6 100644 --- a/src/corelib/tools/qcommandlineparser.cpp +++ b/src/corelib/tools/qcommandlineparser.cpp @@ -335,7 +335,7 @@ bool QCommandLineParser::addOption(const QCommandLineOption &option) if (!optionNames.isEmpty()) { for (const QString &name : optionNames) { if (d->nameHash.contains(name)) { - qWarning() << "QCommandLineParser: already having an option named" << name; + qWarning("QCommandLineParser: option already added: \"%ls\"", qUtf16Printable(name)); return false; } } |
