diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-03-20 09:31:58 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-03-20 12:57:06 +0100 |
commit | bf14b50063db42c0ee220adc563a5d680b270438 (patch) | |
tree | 533763825fde0ccbbb5d7e8e15199117358699f6 /sources/pyside6 | |
parent | 4f88979191557a35875eb474e0e44bda10094035 (diff) |
Fix warning about invalid printf()-format
Change d8910df3ccea2897f5e228058f17176cb1fe4093 moved the
qWarning() out of the function were %FUNCTION_NAME is defined,
causing:
format '%F' expects a matching 'double' argument [-Wformat=]
Replace by function name.
Amends d8910df3ccea2897f5e228058f17176cb1fe4093.
Change-Id: Ib25cbb20c6ffe9c225cefa1a22fab8b37406fb59
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'sources/pyside6')
-rw-r--r-- | sources/pyside6/PySide6/glue/qtnetworkauth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/glue/qtnetworkauth.cpp b/sources/pyside6/PySide6/glue/qtnetworkauth.cpp index 9963bfbee..7877a8dd5 100644 --- a/sources/pyside6/PySide6/glue/qtnetworkauth.cpp +++ b/sources/pyside6/PySide6/glue/qtnetworkauth.cpp @@ -15,7 +15,7 @@ void QAbstractOAuthModifyFunctor::operator()(QAbstractOAuth::Stage stage, { auto *callable = object(); if (!PyCallable_Check(callable)) { - qWarning("Argument 1 of %FUNCTION_NAME must be a callable."); + qWarning("Argument 1 of setModifyParametersFunction() must be a callable."); return; } Shiboken::GilState state; |