mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-20 11:28:51 +00:00
Fixed clang-format issue
This commit is contained in:
parent
f6b7172816
commit
8135faa8da
@ -146,8 +146,7 @@ HexWidget::HexWidget(QWidget *parent)
|
||||
// Delete flag option
|
||||
actionDeleteFlag = new QAction(tr("Delete Flag"), this);
|
||||
actionDeleteFlag->setShortcutContext(Qt::ShortcutContext::WidgetWithChildrenShortcut);
|
||||
connect(actionDeleteFlag, &QAction::triggered, this,
|
||||
&HexWidget::onActionDeleteFlagTriggered);
|
||||
connect(actionDeleteFlag, &QAction::triggered, this, &HexWidget::onActionDeleteFlagTriggered);
|
||||
addAction(actionDeleteFlag);
|
||||
|
||||
actionSelectRange = new QAction(tr("Select range"), this);
|
||||
@ -1179,7 +1178,7 @@ void HexWidget::contextMenuEvent(QContextMenuEvent *event)
|
||||
}
|
||||
|
||||
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()) {
|
||||
actionDeleteFlag->setVisible(false);
|
||||
|
Loading…
Reference in New Issue
Block a user