Commit 2fa0b073 authored by Daniel Teske's avatar Daniel Teske

Initialize pointers, fix correct gcc 4.6 warning

Change-Id: I53a63013e8c440bacd21bacb8afecd9f055cbce4
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent ae5b9c8a
...@@ -179,8 +179,8 @@ void QmlProfilerTool::showContextMenu(const QPoint &position) ...@@ -179,8 +179,8 @@ void QmlProfilerTool::showContextMenu(const QPoint &position)
QMenu menu; QMenu menu;
QAction *loadAction = menu.addAction(tr("Load QML Trace")); QAction *loadAction = menu.addAction(tr("Load QML Trace"));
QAction *saveAction = menu.addAction(tr("Save QML Trace")); QAction *saveAction = menu.addAction(tr("Save QML Trace"));
QAction *copyRowAction; QAction *copyRowAction = 0;
QAction *copyTableAction; QAction *copyTableAction = 0;
if (senderView) { if (senderView) {
if (senderView->selectedItem().isValid()) if (senderView->selectedItem().isValid())
copyRowAction = menu.addAction(tr("Copy Row")); copyRowAction = menu.addAction(tr("Copy Row"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment