Skip to content

Commit c3cc6f8

Browse files
author
Ulf Hermann
committed
Turn fullScreenRequest into a well-behaved value type
Add a default constructor so that QMetaType can create it. Task-number: QTBUG-108649 Task-number: QTBUG-135032 Pick-to: 6.9 6.8 Change-Id: If82aa9e318f17ba5727b3bd6ad3684afb8b36c7f Reviewed-by: Michal Klocek <[email protected]>
1 parent fc3e9ec commit c3cc6f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/api/qwebenginefullscreenrequest.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Q_WEBENGINECORE_EXPORT QWebEngineFullScreenRequest
2323
Q_PROPERTY(QUrl origin READ origin CONSTANT)
2424

2525
public:
26+
QWebEngineFullScreenRequest() : QWebEngineFullScreenRequest(QUrl(), false, [](bool){}) {}
2627
QWebEngineFullScreenRequest(const QWebEngineFullScreenRequest &other);
2728
QWebEngineFullScreenRequest &operator=(const QWebEngineFullScreenRequest &other);
2829
QWebEngineFullScreenRequest(QWebEngineFullScreenRequest &&other);

0 commit comments

Comments
 (0)