From c7ebf1e3aa170692106cb8b547dfea396e9ea0a3 Mon Sep 17 00:00:00 2001 From: Harry Bond Date: Tue, 21 Mar 2023 19:14:52 +0000 Subject: [PATCH] [desktop] make version selectable fixes #4818 Signed-off-by: Harry Bond --- qt/about.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt/about.cpp b/qt/about.cpp index ff80066173..b59ae80ac7 100644 --- a/qt/about.cpp +++ b/qt/about.cpp @@ -28,7 +28,9 @@ AboutDialog::AboutDialog(QWidget * parent) QVBoxLayout * versionBox = new QVBoxLayout(); versionBox->addWidget(new QLabel(qAppName())); - versionBox->addWidget(new QLabel(QString("Version: ") + QString::fromStdString(platform.Version()))); + QLabel * versionLabel = new QLabel(QString("Version: ") + QString::fromStdString(platform.Version())); + versionLabel->setTextInteractionFlags(Qt::TextSelectableByMouse); + versionBox->addWidget(versionLabel); // TODO: insert maps data version. //versionBox->addWidget(new QLabel(QString("Data: ") + DESIGNER_DATA_VERSION));