Skip to content

Commit 82cd589

Browse files
author
Ulf Hermann
committed
Turn webEngineLoadingInfo 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: I9390392f24f29cc16e0f36367a6a77e60a76b068 Reviewed-by: Kaloyan Chehlarski <[email protected]> Reviewed-by: Michal Klocek <[email protected]>
1 parent c3cc6f8 commit 82cd589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/api/qwebengineloadinginfo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class Q_WEBENGINECORE_EXPORT QWebEngineLoadingInfo
5151
};
5252
Q_ENUM(ErrorDomain)
5353

54+
QWebEngineLoadingInfo() : QWebEngineLoadingInfo(QUrl(), LoadStartedStatus) {}
5455
QWebEngineLoadingInfo(const QWebEngineLoadingInfo &other);
5556
QWebEngineLoadingInfo &operator=(const QWebEngineLoadingInfo &other);
5657
QWebEngineLoadingInfo(QWebEngineLoadingInfo &&other);

0 commit comments

Comments
 (0)