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