Sort out class construction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
Undecided
|
Chris Coulson |
Bug Description
As QML doesn't have any concept of construct parameters (any property can be set whilst an object is being constructed) and Oxide needs construct parameters in some cases (eg, WebView.context because we need a BrowserContext to construct WebContents, and WebContext.dataPath because we need a data path before we can construct a BrowserContext), we currently have a fair bit of code that handles this oddity in Oxide.
However, this code is scattered around various places - eg, for WebView, it's in oxide::WebView and OxideQQuickWebView. For WebContext, it's in oxide::
As this is a limitation of QML, ideally this code would be refactored in to the classes in qt/quick/
Changed in oxide: | |
milestone: | none → branch-1.11 |
status: | New → Fix Released |
assignee: | nobody → Chris Coulson (chrisccoulson) |