Commit 9a5aceb7 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ProjectSummaryPage: Report no VersionControl as ""



Returning QString() from here for unset vc will result in the
substitution to fail and thus will leave "%{VersionControl}" as
the text.

Returning a empty non-Null string will make turn the replacement
into "" instead, which is what is expected.

Change-Id: I9dc890deb5f9ea1ac28c1546e4c1bce804d196ef
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent af2db925
......@@ -197,7 +197,7 @@ void JsonSummaryPage::projectNodeHasChanged()
void JsonSummaryPage::versionControlHasChanged()
{
IVersionControl *vc = currentVersionControl();
m_wizard->setProperty("VersionControl", vc ? vc->id().toString() : QString());
m_wizard->setProperty("VersionControl", vc ? vc->id().toString() : QLatin1String(""));
updateFileList();
}
......
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