Commit 2f133810 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: UTF-8 is the new default for QTextStream

parent 15e668ad
...@@ -35,7 +35,9 @@ void HTMLExporter::write(const KBookmarkGroup &grp, const QString &filename, boo ...@@ -35,7 +35,9 @@ void HTMLExporter::write(const KBookmarkGroup &grp, const QString &filename, boo
return; return;
} }
QTextStream tstream(&file); QTextStream tstream(&file);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
tstream.setCodec("UTF-8"); tstream.setCodec("UTF-8");
#endif
tstream << toString(grp, showAddress); tstream << toString(grp, showAddress);
} }
......
Markdown is supported
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