mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
Merge pull request #1704 from ggrtk/qt-scmversion-selectable
Qt: Make about dialog scmversion label selectable by mouse
This commit is contained in:
commit
0a5dc52707
|
@ -11,6 +11,7 @@ AboutDialog::AboutDialog(QWidget* parent /* = nullptr */) : QDialog(parent)
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setFixedSize(geometry().width(), geometry().height());
|
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.scmversion->setText(tr("%1 (%2)").arg(QString(g_scm_tag_str)).arg(QString(g_scm_branch_str)));
|
||||||
|
|
||||||
m_ui.description->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
m_ui.description->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
|
|
Loading…
Reference in a new issue