Merge pull request #9480 from birarda/bug/web-entity-safe-url

cleanup debug for safe web entity URLs
This commit is contained in:
Stephen Birarda 2017-01-23 16:53:07 -08:00 committed by GitHub
commit 479aa93ab2
2 changed files with 2 additions and 1 deletions

View file

@ -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);
});

View file

@ -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.";
}