summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginefullscreenrequest.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2025-07-30 10:48:07 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2025-07-30 14:41:44 +0200
commit24fa72457e7cd30f716676033af7408af5b34385 (patch)
tree51e193e4242d53eef3d6d6a8a1f1cdf3b46df754 /src/core/api/qwebenginefullscreenrequest.cpp
parent51567d907769426a3518d580b7eeb60b7b7dc79f (diff)
Move constructors out of line
API review Pick-to: 6.10 Change-Id: I31de5672d1cf50a6b533e2a9c44b1c7af8e71056 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/core/api/qwebenginefullscreenrequest.cpp')
-rw-r--r--src/core/api/qwebenginefullscreenrequest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/api/qwebenginefullscreenrequest.cpp b/src/core/api/qwebenginefullscreenrequest.cpp
index 938aad19c..ddfaae099 100644
--- a/src/core/api/qwebenginefullscreenrequest.cpp
+++ b/src/core/api/qwebenginefullscreenrequest.cpp
@@ -67,6 +67,9 @@ public:
QWebEngineFullScreenRequest::QWebEngineFullScreenRequest(const QUrl &origin, bool toggleOn, const std::function<void (bool)> &setFullScreenCallback)
: d_ptr(new QWebEngineFullScreenRequestPrivate(origin, toggleOn, setFullScreenCallback)) { }
+QWebEngineFullScreenRequest::QWebEngineFullScreenRequest()
+ : d_ptr(new QWebEngineFullScreenRequestPrivate(QUrl(), false, {})) { }
+
QWebEngineFullScreenRequest::QWebEngineFullScreenRequest(const QWebEngineFullScreenRequest &other) = default;
QWebEngineFullScreenRequest& QWebEngineFullScreenRequest::operator=(const QWebEngineFullScreenRequest &other) = default;
QWebEngineFullScreenRequest::QWebEngineFullScreenRequest(QWebEngineFullScreenRequest &&other) = default;