Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KWalletManager
Commits
36e24e79
Commit
36e24e79
authored
Jun 01, 2021
by
Laurent Montel
Browse files
We depend against qt5.15
parent
6a0c6913
Changes
1
Show whitespace changes
Inline
Side-by-side
src/manager/kwhexview.cpp
View file @
36e24e79
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment