diff options
Diffstat (limited to 'app-text/diffpdf/files/diffpdf-2.1.3-qt6.10.patch')
| -rw-r--r-- | app-text/diffpdf/files/diffpdf-2.1.3-qt6.10.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/diffpdf/files/diffpdf-2.1.3-qt6.10.patch b/app-text/diffpdf/files/diffpdf-2.1.3-qt6.10.patch new file mode 100644 index 000000000000..5af2bb28d260 --- /dev/null +++ b/app-text/diffpdf/files/diffpdf-2.1.3-qt6.10.patch @@ -0,0 +1,11 @@ +--- a/textitem.cpp ++++ b/textitem.cpp +@@ -161,7 +161,7 @@ void TextItems::debug(const int page, const int ToleranceY, + const QRect rect = item.toRect(); + out << item.text; + if (!ComparingWords) +- out << QString(" %1").arg(item.text.at(0).unicode(), 4, 16, ++ out << QString(" %1").arg(static_cast<int>(item.text.at(0).unicode()), 4, 16, + QChar('0')); + if (Yx) { + const int y = normalizedY(static_cast<int>(item.rect.y()),
\ No newline at end of file |
