Commit e90fd2c9 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Use auto when initializing with a template cast to avoid duplicating

parent e79af97c
......@@ -640,7 +640,7 @@ void FileFilter::HotSpot::setupMenu(QMenu *menu)
menu->insertAction(firstAction, action);
}
}
QAction *separator = new QAction(this);
auto *separator = new QAction(this);
separator->setSeparator(true);
menu->insertAction(firstAction, separator);
}
......
Markdown is supported
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