]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiAbout.cpp
Fix bug #6997
[lyx.git] / src / frontends / qt4 / GuiAbout.cpp
index dfe6d5c27e1659d295e448cd81fbbdd80b382a7b..fcd0653afd8740951ba19cb51a974a0593e475da 100644 (file)
@@ -44,7 +44,7 @@ static QDate release_date()
 static QString credits()
 {
        QString res;
-       QFile file(toqstr(package().system_support().absFilename()) + "/CREDITS");
+       QFile file(toqstr(package().system_support().absFileName()) + "/CREDITS");
        QTextStream out(&res);
 
        if (file.isReadable()) {
@@ -120,10 +120,15 @@ static QString version()
        QTextStream out(&res);
        out << toqstr(version_date);
        out << qt_("Library directory: ");
-       out << toqstr(makeDisplayPath(package().system_support().absFilename()));
+       out << toqstr(makeDisplayPath(package().system_support().absFileName()));
        out << "\n";
        out << qt_("User directory: ");
-       out << toqstr(makeDisplayPath(package().user_support().absFilename()));
+       out << toqstr(makeDisplayPath(package().user_support().absFileName()));
+#ifdef DEVEL_VERSION
+       out << "\n";
+       out << "Qt Version (run-time): " << toqstr(qVersion()) << "\n";
+       out << "Qt Version (compile-time): " << QT_VERSION_STR << "\n";
+#endif
        return res;
 }