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

Minor clazy fix

parent 68caff7b
Pipeline #23033 passed with stage
in 15 minutes
...@@ -163,8 +163,7 @@ bool AttendeeComboBoxDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *v ...@@ -163,8 +163,7 @@ bool AttendeeComboBoxDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *v
#ifndef QT_NO_TOOLTIP #ifndef QT_NO_TOOLTIP
case QEvent::ToolTip: case QEvent::ToolTip:
{ {
QHelpEvent *he = static_cast<QHelpEvent *>(event); QToolTip::showText(event->globalPos(), mToolTip, view);
QToolTip::showText(he->globalPos(), mToolTip, view);
return true; return true;
} }
#endif #endif
...@@ -173,8 +172,7 @@ bool AttendeeComboBoxDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *v ...@@ -173,8 +172,7 @@ bool AttendeeComboBoxDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *v
return true; return true;
case QEvent::WhatsThis: case QEvent::WhatsThis:
{ {
QHelpEvent *he = static_cast<QHelpEvent *>(event); QWhatsThis::showText(event->globalPos(), mWhatsThis, view);
QWhatsThis::showText(he->globalPos(), mWhatsThis, view);
return true; return true;
} }
#endif #endif
......
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