From 5e2590b537a6896c8a15ffcbd898c06b8b4ddfcf Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 2 May 2012 16:32:26 +0200 Subject: Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtXml] This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: I7e7202e6a1a84699ae0d43e4b2e7ee9ec87ed0b6 Reviewed-by: Lars Knoll --- tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp index d8b193f5c8..2b92f7c7b6 100644 --- a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp +++ b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp @@ -138,10 +138,10 @@ public slots: { QUrl url("http://127.0.0.1:1088"); QNetworkRequest req(url); - req.setRawHeader("POST", url.path().toAscii()); + req.setRawHeader("POST", url.path().toLatin1()); req.setRawHeader("user-agent", "xml-test"); req.setRawHeader("keep-alive", "false"); - req.setRawHeader("host", url.host().toAscii()); + req.setRawHeader("host", url.host().toLatin1()); QByteArray xmlrpc("\r\n\ SFD.GetVersion\r\n\ -- cgit v1.2.3