From c8899ec0c1c39098679f7b3a28ea8df8b35edd18 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Fri, 10 Aug 2018 15:40:17 +0200 Subject: [PATCH] Avoid confusion in the About dialog about the SQLCipher version SQLCipher reports in its SQLITE_VERSION macro the version of the underlying SQLite version. Because we cannot easily get any other version from SQLCipher and because the reported version is not identical to the SQLCipher version we need to rephrase the wording in the dialog a bit to keep the two versions separated. See issue #1474. --- src/AboutDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AboutDialog.cpp b/src/AboutDialog.cpp index d52f5161..12fe718d 100644 --- a/src/AboutDialog.cpp +++ b/src/AboutDialog.cpp @@ -14,7 +14,7 @@ AboutDialog::AboutDialog(QWidget *parent) : ui->label_version->setText(tr("Version ") + Application::versionString() + "\n\n" + tr("Qt Version ") + QT_VERSION_STR + "\n\n" + #ifdef ENABLE_SQLCIPHER - tr("SQLCipher Version ") + SQLITE_VERSION + tr("SQLCipher based on SQLite Version ") + SQLITE_VERSION #else tr("SQLite Version ") + SQLITE_VERSION #endif