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;
 }
 
