Commit 4ab3446c authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Qt version tooltip: Display configuration correctly.


Reviewed-by: default avatardt <qtc-committer@nokia.com>
parent e4e0cadb
......@@ -514,11 +514,10 @@ QString QtVersion::toHtml() const
<< "</b></td><td>" << m_qmakeCommand << "</td></tr>";
updateVersionInfo();
if (m_defaultConfigIsDebug || m_defaultConfigIsDebugAndRelease) {
str << "<tr><td><b>" << QtVersionManager::tr("Default:") << "</b></td><td>";
if (m_defaultConfigIsDebug)
str << "debug";
str << "<tr><td><b>" << QtVersionManager::tr("Default:") << "</b></td><td>"
<< (m_defaultConfigIsDebug ? "debug" : "release");
if (m_defaultConfigIsDebugAndRelease)
str << "default_and_release";
str << " debug_and_release";
str << "</td></tr>";
} // default config.
if (!qmakeCXX().isEmpty())
......
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