while (offset < selection.second) {
size_t end = std::min((uint64_t)(selection.second), offset + n);
offset = hex_view_->create_hex_line(offset, end, &s, with_offset, with_ascii);
+#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
+ out_stream << s << Qt::endl;
+#else
out_stream << s << endl;
+#endif
}
+#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
+ out_stream << Qt::endl;
+#else
out_stream << endl;
+#endif
if (out_stream.status() != QTextStream::Ok) {
QMessageBox msg(parent_);