Always present Qt version info in LyX About dialog - not for developer version only

This commit is contained in:
Stephan Witt 2016-06-19 11:53:20 +02:00
parent 066cc0c9c0
commit 4bc2877e8a

View File

@ -228,11 +228,9 @@ static QString version()
out << "\n";
out << qt_("User directory: ");
out << toqstr(makeDisplayPath(package().user_support().absFileName()));
if (std::string(lyx_git_commit_hash) != "none") {
out << "\n";
out << toqstr(bformat(_("Qt Version (run-time): %1$s"), from_ascii(qVersion()))) << "\n";
out << toqstr(bformat(_("Qt Version (compile-time): %1$s"), from_ascii(QT_VERSION_STR))) << "\n";
}
out << "\n";
out << toqstr(bformat(_("Qt Version (run-time): %1$s"), from_ascii(qVersion()))) << "\n";
out << toqstr(bformat(_("Qt Version (compile-time): %1$s"), from_ascii(QT_VERSION_STR))) << "\n";
return res;
}