summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-02 16:32:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-03 11:33:05 +0200
commit5e2590b537a6896c8a15ffcbd898c06b8b4ddfcf (patch)
tree1099801a10952f7516dad1e012027e9dec73320c /tests
parentafbdf3b1ccd6c530eebafe447d590f2cb76ffd6f (diff)
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 <lars.knoll@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp4
1 files changed, 2 insertions, 2 deletions
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("<methodCall>\r\n\
<methodName>SFD.GetVersion</methodName>\r\n\