Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
6d80f359
Commit
6d80f359
authored
Jul 02, 2010
by
ck
Browse files
BinEditor: Fix cursor position label.
It assumed base address zero.
parent
a0957225
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/bineditor/bineditorplugin.cpp
View file @
6d80f359
...
...
@@ -363,8 +363,8 @@ public:
public
slots
:
void
updateCursorPosition
(
int
position
)
{
m_cursorPositionLabel
->
setText
(
m_editor
->
addressString
(
(
uint
)
position
),
m_editor
->
addressString
(
(
uint
)
m_editor
->
data
().
size
()));
m_cursorPositionLabel
->
setText
(
m_editor
->
addressString
(
m_editor
->
baseAddress
()
+
position
),
m_editor
->
addressString
(
m_editor
->
baseAddress
()
+
m_editor
->
data
().
size
()));
}
private:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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