commit 4bc2877e8a0cbe3d4e88bc646456c94716a3ab1b
Author: Stephan Witt <[email protected]>
Date: Sun Jun 19 11:53:20 2016 +0200
Always present Qt version info in LyX About dialog - not for developer
version only
diff --git a/src/frontends/qt4/GuiAbout.cpp b/src/frontends/qt4/GuiAbout.cpp
index d2a69e9..299ed08 100644
--- a/src/frontends/qt4/GuiAbout.cpp
+++ b/src/frontends/qt4/GuiAbout.cpp
@@ -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;
}