Do not forget to reset stream after std::hex

Spotted by Coverity scan.

(cherry picked from commit f4c02d670b)
This commit is contained in:
Jean-Marc Lasgouttes 2024-09-09 17:49:20 +02:00
parent a7e8397a84
commit 615f035854
2 changed files with 3 additions and 1 deletions

View File

@ -1514,7 +1514,7 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const
{ {
LYXERR(Debug::INFO, "incoming InputMethodQuery Value: 0x" << std::hex << query); LYXERR(Debug::INFO, "incoming InputMethodQuery Value: 0x" << std::hex << query << std::dec);
switch (query) { switch (query) {
// this is the CJK-specific composition window position and // this is the CJK-specific composition window position and
// the context menu position when the menu key is pressed. // the context menu position when the menu key is pressed.

View File

@ -139,6 +139,8 @@ What's new
- Fix a Python script, used to preview math expressions, that used a - Fix a Python script, used to preview math expressions, that used a
module that is removed in Python 3.13. module that is removed in Python 3.13.
- Fix case where debug information may report all numbers as hexadecimal.
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION