From df8d7b0f9b96ed3da5f65ba400d3b68448da26a2 Mon Sep 17 00:00:00 2001 From: jolavillette Date: Tue, 6 Jan 2026 19:41:49 +0100 Subject: [PATCH 1/4] display libretroshare version in About dialogs and enable dirty flag support --- retroshare-gui/src/gui/AboutWidget.cpp | 13 +++++++++++-- retroshare-gui/src/gui/HelpDialog.cpp | 11 ++++++++++- retroshare.pri | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/retroshare-gui/src/gui/AboutWidget.cpp b/retroshare-gui/src/gui/AboutWidget.cpp index 5ed017d24..de9b0d70d 100644 --- a/retroshare-gui/src/gui/AboutWidget.cpp +++ b/retroshare-gui/src/gui/AboutWidget.cpp @@ -230,11 +230,15 @@ void AWidget::initImages() /* Draw RetroShare version */ #ifdef RS_ONLYHIDDENNODE - p.drawText(QPointF(10, 50), QString("%1 : %2 (With embedded Tor)").arg(tr("Retroshare version"), Rshare::retroshareVersion(true))); + p.drawText(QPointF(10, 50), QString("%1 : %2 (With embedded Tor)").arg(tr("Retroshare version"), RsApplication::retroshareVersion(true))); #else p.drawText(QPointF(10, 50), QString("%1 : %2").arg(tr("Retroshare version"), RsApplication::retroshareVersion(true))); #endif + /* [Added] Draw libretroshare (Engine) version below the GUI version */ + /* y=70 is used to fit nicely between RS version (50) and Qt version (90) */ + p.drawText(QPointF(10, 70), QString("%1 : %2").arg(tr("Engine version"), QString::fromUtf8(RsInit::libRetroShareVersion()))); + /* Draw Qt's version number */ p.drawText(QPointF(10, 90), QString("Qt %1 : %2").arg(tr("version"), QT_VERSION_STR)); @@ -940,13 +944,17 @@ static QString addLibraries(const std::string &name, const std::list