diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-12-11 22:09:18 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-12-17 15:42:20 +0200 |
| commit | a0495f7e894f87f2c303a2a9ce3e300c47240d96 (patch) | |
| tree | e60f10a03e888182aefd309aac2008581d358d70 /src/multimedia/platform/qplatformsurfacecapture.cpp | |
| parent | 88f0765d307c5603fe44034fd7e345f81c4113db (diff) | |
Amends 6e6fe9862aed124176a79027a92871fde49c0817:
«All root and context properties are replaced with a singleton.»
Which e.g. replaced:
`rootObject->setProperty("source1", url1);`
with:
`singleton->setSource2(source2);`
dropping `url1`; this looks like an oversight.
Fix the issue by actually using url1 and url2.
Drive-by, simplify the code; calling QUrl::fromLocalFile() on an empty
string will return a default constructed QUrl, so remove the check for
QString::isEmpty().
Pick-to: 6.11 6.10 6.8
Change-Id: I731c1f18757962a0370fa35cd70ad76f9362ac22
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/multimedia/platform/qplatformsurfacecapture.cpp')
0 files changed, 0 insertions, 0 deletions
