diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-05-18 14:39:24 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-05-18 21:05:27 +0200 |
commit | e1cceefd139c4c09e7a1ef863968bc8cd550668c (patch) | |
tree | c1d88c7c2e18772d154181058c0ecc8fd5e13174 /examples | |
parent | 1854a34abf84c7a27cbe00e842949953d066fae3 (diff) |
Fix compilation of example
Change-Id: I05baa125797065c44d6e7d80861e75f993050512
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/uitools/textfinder/textfinder.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/uitools/textfinder/textfinder.cpp b/examples/uitools/textfinder/textfinder.cpp index a18505c8c..d6c11906b 100644 --- a/examples/uitools/textfinder/textfinder.cpp +++ b/examples/uitools/textfinder/textfinder.cpp @@ -75,7 +75,6 @@ static QString loadTextFile() QFile inputFile(":/forms/input.txt"); inputFile.open(QIODevice::ReadOnly); QTextStream in(&inputFile); - in.setCodec("UTF-8"); return in.readAll(); } //! [5] |