Set variable as unused

wilder
Kurt Hindenburg 4 years ago
parent 836b1d9814
commit ebf5aa6e41
  1. 2
      src/plugins/QuickCommands/quickcommandswidget.cpp

@ -103,6 +103,8 @@ void QuickCommandsWidget::addMode()
void QuickCommandsWidget::indexSelected(const QModelIndex &idx)
{
Q_UNUSED(idx)
const auto sourceIdx = priv->filterModel->mapToSource(ui->commandsTreeView->currentIndex());
if (priv->model->rowCount(sourceIdx) != 0) {
ui->name->setText({});

Loading…
Cancel
Save