CollectionItemDelegate: Remove check for nullptr, already done

This commit is contained in:
Jonas Kvinge 2023-07-21 07:11:21 +02:00
parent 2a4be6fcd7
commit eaed82c9b2
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ bool CollectionItemDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *vie
QString text = displayText(idx.data(), QLocale::system());
if (text.isEmpty() || !event) return false;
if (text.isEmpty()) return false;
switch (event->type()) {
case QEvent::ToolTip: {