forked from qt-creator/qt-creator
QmlProfiler: Avoid some 0 as nullptr warnings
Change-Id: I4763a22c6624eaffbb583bf26bf74a3e282b042f Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -266,7 +266,7 @@ void QmlProfilerTraceView::contextMenuEvent(QContextMenuEvent *ev)
|
||||
void QmlProfilerTraceView::showContextMenu(QPoint position)
|
||||
{
|
||||
QMenu menu;
|
||||
QAction *viewAllAction = 0;
|
||||
QAction *viewAllAction = nullptr;
|
||||
|
||||
menu.addActions(QmlProfilerTool::profilerContextMenuActions());
|
||||
menu.addSeparator();
|
||||
|
||||
Reference in New Issue
Block a user