summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2010-02-02 15:21:52 (GMT)
committerck <qt-info@nokia.com>2010-02-02 15:21:52 (GMT)
commit39233f76647e166961c97b38d16f612076eeb9c3 (patch)
tree8f322bb7a806bc2e138f7636e140ba6ee52eec26 /examples
parent1217df165cfe8447cfafffd52bd8ae60cb7ee8a2 (diff)
downloadQt-39233f76647e166961c97b38d16f612076eeb9c3.zip
Qt-39233f76647e166961c97b38d16f612076eeb9c3.tar.gz
Qt-39233f76647e166961c97b38d16f612076eeb9c3.tar.bz2
Assistant examples: Fix missing QLatin1String.
Diffstat (limited to 'examples')
-rw-r--r--examples/assistant/simpletextviewer/findfiledialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/assistant/simpletextviewer/findfiledialog.cpp b/examples/assistant/simpletextviewer/findfiledialog.cpp
index 0f7bbae..1f11f69 100644
--- a/examples/assistant/simpletextviewer/findfiledialog.cpp
+++ b/examples/assistant/simpletextviewer/findfiledialog.cpp
@@ -102,7 +102,7 @@ void FindFileDialog::openFile(QTreeWidgetItem *item)
if (file.open(QIODevice::ReadOnly)) {
QString data(file.readAll());
- if (fileName.endsWith(".html"))
+ if (fileName.endsWith(QLatin1String(".html")))
currentEditor->setHtml(data);
else
currentEditor->setPlainText(data);