Fixed clang-format issue

This commit is contained in:
Rohan-Sagar 2024-02-19 13:20:22 -05:00
parent f6b7172816
commit 8135faa8da

View File

@ -146,8 +146,7 @@ HexWidget::HexWidget(QWidget *parent)
// Delete flag option // Delete flag option
actionDeleteFlag = new QAction(tr("Delete Flag"), this); actionDeleteFlag = new QAction(tr("Delete Flag"), this);
actionDeleteFlag->setShortcutContext(Qt::ShortcutContext::WidgetWithChildrenShortcut); actionDeleteFlag->setShortcutContext(Qt::ShortcutContext::WidgetWithChildrenShortcut);
connect(actionDeleteFlag, &QAction::triggered, this, connect(actionDeleteFlag, &QAction::triggered, this, &HexWidget::onActionDeleteFlagTriggered);
&HexWidget::onActionDeleteFlagTriggered);
addAction(actionDeleteFlag); addAction(actionDeleteFlag);
actionSelectRange = new QAction(tr("Select range"), this); actionSelectRange = new QAction(tr("Select range"), this);
@ -1179,7 +1178,7 @@ void HexWidget::contextMenuEvent(QContextMenuEvent *event)
} }
QString flag = Core()->flagAt(cursor.address); QString flag = Core()->flagAt(cursor.address);
RzFlagItem *flagItem = rz_flag_get_i(Core()->core()->flags, cursor.address); RzFlagItem *flagItem = rz_flag_get_i(Core()->core()->flags, cursor.address);
if (flagItem == 0x0 || flag.isNull() || flag.isEmpty()) { if (flagItem == 0x0 || flag.isNull() || flag.isEmpty()) {
actionDeleteFlag->setVisible(false); actionDeleteFlag->setVisible(false);