mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
About: Show the runtime versions of Qt and OpenSSL #5592
I didn't want to touch this visible translated string in a patch release so I just switched the data. For Qt versions before 5, we continue to show the build-time version of OpenSSL but it's clearly marked as such.
This commit is contained in:
parent
0ed929f24b
commit
1a279ca158
@ -23,6 +23,7 @@
|
||||
#ifndef TOKEN_AUTH_ONLY
|
||||
#include <QtGui>
|
||||
#endif
|
||||
#include <QSslSocket>
|
||||
|
||||
#include "owncloudtheme.h"
|
||||
|
||||
@ -297,8 +298,13 @@ QString Theme::gitSHA1() const
|
||||
" on %3, %4 using Qt %5, %6</small></p>")
|
||||
.arg(githubPrefix+gitSha1).arg(gitSha1.left(6))
|
||||
.arg(__DATE__).arg(__TIME__)
|
||||
.arg(QT_VERSION_STR)
|
||||
.arg(QString::fromAscii(OPENSSL_VERSION_TEXT));
|
||||
.arg(QString::fromAscii(qVersion()))
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||
.arg(QSslSocket::sslLibraryVersionString());
|
||||
#else
|
||||
.arg(QCoreApplication::translate("ownCloudTheme::about()", "built with %1").arg(
|
||||
QString::fromAscii(OPENSSL_VERSION_TEXT)));
|
||||
#endif
|
||||
#endif
|
||||
return devString;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user