Commit f5ba49ae authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port encoding text

parent 3638f589
Pipeline #177953 failed with stage
in 3 minutes and 37 seconds
......@@ -33,7 +33,11 @@ void AboutProtocol::get( const QUrl& )
QByteArray output;
QTextStream os( &output, QIODevice::WriteOnly );
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
os.setCodec( "ISO-8859-1" ); // In fact ASCII
#else
os.setEncoding(QStringConverter::Latin1);
#endif
os << "<html><head><title>about:blank</title></head><body></body></html>";
os.flush();
......
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