Commit f34a4a60 authored by Daniel Teske's avatar Daniel Teske
Browse files

CMake: Set a initial displayName for projects

We set the display name for cmake projects based on the projects's
name in the cdb file. The parsing of that happens quite late, so
we need to set a fallback displayname in the ctor.

Task-number: QTCREATORBUG-9641

Change-Id: Iabfef7a3cc9710e6ba04523845d4142a89493011
Reviewed-by: default avatarTobias Hunger <>
parent b2a09f7b
......@@ -111,6 +111,8 @@ CMakeProject::CMakeProject(CMakeManager *manager, const QString &fileName)
m_projectName = QFileInfo(fileName).absoluteDir().dirName();
m_file = new CMakeFile(this, fileName);
connect(this, SIGNAL(buildTargetsChanged()),
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