From 0480dbd3a83f7ce189737adba824ed636aababbd Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 24 Jul 2017 08:05:11 +0200 Subject: [PATCH] ProjectExplorer: Fix compile for older gcc/Qt5.6 Change-Id: I3b5728797fe1c9f1508f94ea9ea9e66773061a6b Reviewed-by: Tim Jenssen --- src/plugins/projectexplorer/projectexplorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index b100ddc6197..e8f41dcb66d 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -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); });