diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-05-18 12:55:11 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-05-18 21:05:25 +0200 |
commit | 1854a34abf84c7a27cbe00e842949953d066fae3 (patch) | |
tree | 22111410cea0e4ad514b48723a7c13e490e30f12 /src/makeqpf/mainwindow.cpp | |
parent | f30ff0cb083047665e6989c4cfeccdfd50c83775 (diff) |
Remove QTextCodec dependency in makeqpf
Change-Id: I6152d8fce2a4c65d302625ff051e0814b5e95ef0
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/makeqpf/mainwindow.cpp')
-rw-r--r-- | src/makeqpf/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/makeqpf/mainwindow.cpp b/src/makeqpf/mainwindow.cpp index 215df6d47..0aed17f52 100644 --- a/src/makeqpf/mainwindow.cpp +++ b/src/makeqpf/mainwindow.cpp @@ -38,7 +38,6 @@ #include <QCompleter> #include <QDirModel> #include <QRegularExpression> -#include <QTextCodec> QT_BEGIN_NAMESPACE @@ -210,7 +209,6 @@ void MainWindow::on_sampleFile_editingFinished() return; } QTextStream stream(&f); - stream.setCodec(QTextCodec::codecForName("utf-8")); stream.setAutoDetectUnicode(true); QString text = stream.readAll(); |