Commit 0480dbd3 authored by Christian Stenger's avatar Christian Stenger Committed by Tim Jenssen

ProjectExplorer: Fix compile for older gcc/Qt5.6

Change-Id: I3b5728797fe1c9f1508f94ea9ea9e66773061a6b
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent 6979a8f2
......@@ -3110,7 +3110,7 @@ void ProjectExplorerPluginPrivate::updateLocationSubMenus()
for (const FolderNode::LocationInfo &li : locations) {
const int line = li.line;
const Utils::FileName path = li.path;
QAction *action = new QAction(li.displayName);
QAction *action = new QAction(li.displayName, nullptr);
connect(action, &QAction::triggered, this, [line, path]() {
Core::EditorManager::openEditorAt(path.toString(), line);
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