Commit b2198b67 authored by Andrea Iacovitti's avatar Andrea Iacovitti

It's safer to check for empty.

parent 570425a3
......@@ -237,7 +237,7 @@ void HTMLDocumentImpl::close()
document()->dispatchWindowEvent(EventImpl::LOAD_EVENT, false, false);
// don't update rendering if we're going to redirect anyway
if ( part() && (part()->d->m_redirectURL.isNull() ||
if ( part() && (part()->d->m_redirectURL.isEmpty() ||
part()->d->m_delayRedirect > 1) )
updateRendering();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment