[Webkit-unassigned] [Bug 62669] [Qt] Add storage tracker WK1 API for QtWebKit port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 27 13:49:16 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62669





--- Comment #9 from Caio Marcelo de Oliveira Filho <cmarcelo at webkit.org>  2011-06-27 13:49:11 PST ---
(From update of attachment 98428)
View in context: https://bugs.webkit.org/attachment.cgi?id=98428&action=review

> Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp:1169
> +        res.append(ret[i].scheme() + originDelimeter + ret[i].host() + originDelimeter + QString(ret[i].port()));

Maybe use a formating QString and the QString::arg() method can help the construction of this string.

Somethin like: res.append(QString::fromLatin1("%1_%2_%3").arg(ret[i].scheme(), ret[i].host(), ret[i].port())); // untested

I think you could even create one QString with the format and reuse it inside the loop.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list