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:
@@ -130,10 +130,10 @@ QStringList QmlProfilerStatisticsView::details(int typeId) const
|
||||
void QmlProfilerStatisticsView::contextMenuEvent(QContextMenuEvent *ev)
|
||||
{
|
||||
QMenu menu;
|
||||
QAction *copyRowAction = 0;
|
||||
QAction *copyTableAction = 0;
|
||||
QAction *showExtendedStatsAction = 0;
|
||||
QAction *getGlobalStatsAction = 0;
|
||||
QAction *copyRowAction = nullptr;
|
||||
QAction *copyTableAction = nullptr;
|
||||
QAction *showExtendedStatsAction = nullptr;
|
||||
QAction *getGlobalStatsAction = nullptr;
|
||||
|
||||
QPoint position = ev->globalPos();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user