Commit 36e24e79 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against qt5.15

parent 6a0c6913
......@@ -25,11 +25,7 @@ static QString toHex(It it, It end)
QTextStream ts(&text);
ts <<
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
hex
#else
Qt::hex
#endif
<< qSetFieldWidth(2) << qSetPadChar(QLatin1Char('0'));
while (it < end) {
......@@ -77,11 +73,7 @@ void KWHexView::showData()
QString text;
QTextStream ts(&text);
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
ts << left;
#else
ts << Qt::left;
#endif
const auto stride = calculateStride();
const auto hexwidth = stride * 2 + (stride / hexStride) + 1;
......
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