mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Merge pull request #9480 from birarda/bug/web-entity-safe-url
cleanup debug for safe web entity URLs
This commit is contained in:
commit
479aa93ab2
2 changed files with 2 additions and 1 deletions
|
@ -251,6 +251,8 @@ void RenderableWebEntityItem::setSourceUrl(const QString& value) {
|
|||
WebEntityItem::setSourceUrl(value);
|
||||
|
||||
if (_sourceUrl != valueBeforeSuperclassSet && _webSurface) {
|
||||
qCDebug(entities) << "Changing web entity source URL to " << _sourceUrl;
|
||||
|
||||
AbstractViewStateInterface::instance()->postLambdaEvent([this] {
|
||||
_webSurface->getRootItem()->setProperty("url", _sourceUrl);
|
||||
});
|
||||
|
|
|
@ -129,7 +129,6 @@ void WebEntityItem::setSourceUrl(const QString& value) {
|
|||
|
||||
if (newURL.isValid()) {
|
||||
_sourceUrl = newURL.toDisplayString();
|
||||
qCDebug(entities) << "Changed web entity source URL to " << _sourceUrl;
|
||||
} else {
|
||||
qCDebug(entities) << "Clearing web entity source URL since" << value << "cannot be parsed to a valid URL.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue