diff --git a/src/collection/collectionitemdelegate.cpp b/src/collection/collectionitemdelegate.cpp index 188a7c611..d1cec1750 100644 --- a/src/collection/collectionitemdelegate.cpp +++ b/src/collection/collectionitemdelegate.cpp @@ -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: {