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

Initialize pointers, fix correct gcc 4.6 warning

Change-Id: I53a63013e8c440bacd21bacb8afecd9f055cbce4
Reviewed-by: default avatarChristiaan Janssen <>
parent ae5b9c8a
......@@ -179,8 +179,8 @@ void QmlProfilerTool::showContextMenu(const QPoint &position)
QMenu menu;
QAction *loadAction = menu.addAction(tr("Load QML Trace"));
QAction *saveAction = menu.addAction(tr("Save QML Trace"));
QAction *copyRowAction;
QAction *copyTableAction;
QAction *copyRowAction = 0;
QAction *copyTableAction = 0;
if (senderView) {
if (senderView->selectedItem().isValid())
copyRowAction = menu.addAction(tr("Copy Row"));
Supports Markdown
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