summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 17:08:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-30 20:06:38 +0200
commit938fbcbb74fd23a6135c3379116b0a23a70a7a33 (patch)
tree65e5d93f04765193c61067e2dae5ce85dd2e178a /examples
parent287285aafd0cb34ffc0e4fe150ee59a5e7dabc2d (diff)
Change uses of {to,from}Ascii to {to,from}Latin1
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: Ia2fed44c5db997b6fc13a243f5e312d35f8625ad Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'examples')
-rw-r--r--examples/ndefeditor/mimeimagerecordeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ndefeditor/mimeimagerecordeditor.cpp b/examples/ndefeditor/mimeimagerecordeditor.cpp
index 85be9dc1..637a9820 100644
--- a/examples/ndefeditor/mimeimagerecordeditor.cpp
+++ b/examples/ndefeditor/mimeimagerecordeditor.cpp
@@ -134,6 +134,6 @@ void MimeImageRecordEditor::on_mimeImageOpen_clicked()
ui->mimeImageFile->setText(mimeDataFile);
ui->mimeImageImage->setPixmap(QPixmap::fromImage(image));
- m_record.setType(mimeType.toAscii());
+ m_record.setType(mimeType.toLatin1());
m_record.setPayload(imageData);
}