]> git.lyx.org Git - features.git/commitdiff
Always present Qt version info in LyX About dialog - not for developer version only
authorStephan Witt <switt@lyx.org>
Sun, 19 Jun 2016 09:53:20 +0000 (11:53 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 19 Jun 2016 09:53:20 +0000 (11:53 +0200)
src/frontends/qt4/GuiAbout.cpp

index d2a69e9d7a7e078760935100ac09ee9f1c4487d4..299ed0845d9dd24485baa2327315b759ec230c65 100644 (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;
 }