Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/qhexedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ void QHexEdit::setReadOnly(bool readOnly)
_readOnly = readOnly;
}

void QHexEdit::setHexCaps(const bool isCaps)
void QHexEdit::setHexCaps(bool isCaps)
{
_hexCaps = isCaps;
viewport()->update();
Expand All @@ -325,7 +325,7 @@ bool QHexEdit::hexCaps() const
return _hexCaps;
}

void QHexEdit::setDynamicBytesPerLine(const bool isDynamic)
void QHexEdit::setDynamicBytesPerLine(bool isDynamic)
{
_dynamicBytesPerLine = isDynamic;
resizeEvent(nullptr);
Expand Down
4 changes: 2 additions & 2 deletions src/qhexedit.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ public slots:
QByteArray data();
void setData(const QByteArray &ba);

void setHexCaps(const bool isCaps);
void setHexCaps(bool isCaps);
bool hexCaps() const;

void setDynamicBytesPerLine(const bool isDynamic);
void setDynamicBytesPerLine(bool isDynamic);
bool dynamicBytesPerLine() const;

bool highlighting() const;
Expand Down