Commit 8f0b3f46 authored by con's avatar con
Browse files

Yet another missing utf8 encoding for file search.

Task-number: QTCREATORBUG-65
Reviewed-by: Robert Loehning
parent 9137c376
......@@ -107,7 +107,7 @@ void runFileSearch(QFutureInterface<FileSearchResultList> &future,
}
QIODevice *device;
if (fileToContentsMap.contains(s)) {
buffer.setData(fileToContentsMap.value(s).toLocal8Bit());
buffer.setData(fileToContentsMap.value(s).toUtf8());
device = &buffer;
} else {
file.setFileName(s);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment