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.
This commit is contained in:
Martin Kleusberg
2018-08-10 15:40:17 +02:00
parent 75e4c32bc4
commit c8899ec0c1

View File

@@ -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