From 1f876afbed657925446371caa0cbba3a66ca8967 Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Sat, 27 Feb 2021 15:07:05 -0800 Subject: [PATCH] Qt: Make about dialog scmversion label selectable by mouse --- src/duckstation-qt/aboutdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duckstation-qt/aboutdialog.cpp b/src/duckstation-qt/aboutdialog.cpp index 9e3d0596f..110af579a 100644 --- a/src/duckstation-qt/aboutdialog.cpp +++ b/src/duckstation-qt/aboutdialog.cpp @@ -11,6 +11,7 @@ AboutDialog::AboutDialog(QWidget* parent /* = nullptr */) : QDialog(parent) setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); setFixedSize(geometry().width(), geometry().height()); + m_ui.scmversion->setTextInteractionFlags(Qt::TextSelectableByMouse); m_ui.scmversion->setText(tr("%1 (%2)").arg(QString(g_scm_tag_str)).arg(QString(g_scm_branch_str))); m_ui.description->setTextInteractionFlags(Qt::TextBrowserInteraction);