Commit b9a652a1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use auto directly

parent 1d3fb518
......@@ -83,7 +83,7 @@ bool FollowUpReminderInfoWidget::eventFilter(QObject *object, QEvent *event)
{
if (object == mTreeWidget) {
if (event->type() == QEvent::KeyPress) {
auto *keyEvent = static_cast<QKeyEvent *>(event);
auto keyEvent = static_cast<QKeyEvent *>(event);
if (keyEvent->key() == Qt::Key_Delete) {
const auto listItems = mTreeWidget->selectedItems();
deleteItems(listItems);
......
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