Commit 3a327d1e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to add break after a return

parent 11da1ca3
......@@ -163,18 +163,15 @@ bool AttendeeComboBoxDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *v
QHelpEvent *he = static_cast<QHelpEvent *>(event);
QToolTip::showText(he->globalPos(), mToolTip, view);
return true;
break;
}
#endif
#ifndef QT_NO_WHATSTHIS
case QEvent::QueryWhatsThis:
return true;
break;
case QEvent::WhatsThis: {
QHelpEvent *he = static_cast<QHelpEvent *>(event);
QWhatsThis::showText(he->globalPos(), mWhatsThis, view);
return true;
break;
}
#endif
default:
......
......@@ -103,18 +103,15 @@ bool AttendeeLineEditDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *v
QHelpEvent *he = static_cast<QHelpEvent *>(event);
QToolTip::showText(he->globalPos(), mToolTip, view);
return true;
break;
}
#endif
#ifndef QT_NO_WHATSTHIS
case QEvent::QueryWhatsThis:
return true;
break;
case QEvent::WhatsThis: {
QHelpEvent *he = static_cast<QHelpEvent *>(event);
QWhatsThis::showText(he->globalPos(), mWhatsThis, view);
return true;
break;
}
#endif
default:
......
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