Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.8
-
None
-
d48f84898 (dev), b2223c390 (6.8)
-
DaVinci 106
Description
https://doc.qt.io/qt-6/qwebengineurlschemehandler.html#details
The example here missing a closing bracket "}" (or having an unnecessary starting bracket) for
if (method == QByteArrayLiteral("GET")) {
Simply copying and pasting the code is going to cause error.
Attachments
For Gerrit Dashboard: QTBUG-130327 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
598563,2 | Doc: Drop unbalanced and unneeded curly brace from code snippet | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
599218,2 | Doc: Drop unbalanced and unneeded curly brace from code snippet | 6.8 | qt/qtwebengine | Status: MERGED | +2 | 0 |