From bb783eb81935a9163fdf613fab350685dd8d7c05 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 25 Feb 2020 12:58:15 +0100 Subject: [PATCH] Help: Drop use of nullptr for default QFlag Last one. Change-Id: Iaef520ad4a0050544fc46ec3cde10c42675448e4 Reviewed-by: Eike Ziller --- src/plugins/help/openpageswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/help/openpageswidget.cpp b/src/plugins/help/openpageswidget.cpp index 48e2ce223f5..0704627a973 100644 --- a/src/plugins/help/openpageswidget.cpp +++ b/src/plugins/help/openpageswidget.cpp @@ -111,7 +111,7 @@ void OpenPagesWidget::handleActivated(const QModelIndex &index) // work around a bug in itemviews where the delegate wouldn't get the QStyle::State_MouseOver QWidget *vp = viewport(); const QPoint &cursorPos = QCursor::pos(); - QMouseEvent e(QEvent::MouseMove, vp->mapFromGlobal(cursorPos), cursorPos, Qt::NoButton, nullptr, nullptr); + QMouseEvent e(QEvent::MouseMove, vp->mapFromGlobal(cursorPos), cursorPos, Qt::NoButton, {}, {}); QCoreApplication::sendEvent(vp, &e); } }