summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx')
-rw-r--r--src/declarative/fx/qfxwebview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxwebview.cpp b/src/declarative/fx/qfxwebview.cpp
index 5e3ce29..4c1629e 100644
--- a/src/declarative/fx/qfxwebview.cpp
+++ b/src/declarative/fx/qfxwebview.cpp
@@ -333,7 +333,7 @@ void QFxWebView::setUrl(const QUrl &url)
d->idealwidth>0 ? d->idealwidth : width(),
d->idealheight>0 ? d->idealheight : height()));
- Q_ASSERT(!url.isRelative());
+ Q_ASSERT(url.isEmpty() || !url.isRelative());
if (isComponentComplete())
page()->mainFrame()->load(url);