Commit ebf5aa6e authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Set variable as unused

parent 836b1d98
Pipeline #181123 passed with stage
in 3 minutes and 44 seconds
......@@ -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({});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment