From ae5c0c27bd7d9354185234c64b7b8889eaec25a6 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 24 Jun 2014 17:46:07 +0300 Subject: [PATCH] ProjectExplorer: Fix MSVC compilation Change-Id: I6062c1e9832bb9f50dd3439724706e1732c73720 Reviewed-by: hjk --- 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 73f586b9b24..8568a61be9d 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1049,7 +1049,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er VariableManager::registerFileVariables(Constants::VAR_CURRENTPROJECT_PREFIX, tr("Current project's main file"), - []() { + []() -> QString { QString projectFilePath; if (Project *project = ProjectExplorerPlugin::currentProject()) if (IDocument *doc = project->document())