Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaldesyvon committed Oct 20, 2023
1 parent 5904b19 commit ba9360d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/DisassemblyWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ void DisassemblyWidget::jumpToOffsetUnderCursor(const QTextCursor &cursor)
bool DisassemblyWidget::eventFilter(QObject *obj, QEvent *event)
{
if ((Config()->getPreviewValue() || Config()->getShowVarTooltips())
&& event->type() == QEvent::ToolTip && obj == mDisasTextEdit->viewport()) {
&& event->type() == QEvent::ToolTip && obj == mDisasTextEdit->viewport()) {
auto *helpEvent = dynamic_cast<QHelpEvent *>(event);
auto cursorForWord = mDisasTextEdit->cursorForPosition(helpEvent->pos());
cursorForWord.select(QTextCursor::WordUnderCursor);
Expand Down

0 comments on commit ba9360d

Please sign in to comment.