summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-06-24 17:46:07 +0300
committerhjk <hjk121@nokiamail.com>2014-06-24 16:56:46 +0200
commitae5c0c27bd7d9354185234c64b7b8889eaec25a6 (patch)
treedec0d3b5383ae427e0f063540563573ed0b559c3
parentcb2f68d6610fec1c35836473c6e27987cc332502 (diff)
downloadqt-creator-ae5c0c27bd7d9354185234c64b7b8889eaec25a6.tar.gz
ProjectExplorer: Fix MSVC compilation
Change-Id: I6062c1e9832bb9f50dd3439724706e1732c73720 Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index 73f586b9b2..8568a61be9 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())