make text in About Dialog selectable (#871)

This commit is contained in:
Itay Cohen 2018-10-23 10:09:56 +03:00 committed by xarkes
parent 3400314cd2
commit 08107fdc67
2 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ void AboutDialog::on_showVersionButton_clicked()
{ {
QMessageBox popup(this); QMessageBox popup(this);
popup.setWindowTitle(tr("radare2 version information")); popup.setWindowTitle(tr("radare2 version information"));
popup.setTextInteractionFlags(Qt::TextSelectableByMouse);
auto versionInformation = Core()->getVersionInformation(); auto versionInformation = Core()->getVersionInformation();
popup.setText(versionInformation); popup.setText(versionInformation);
popup.exec(); popup.exec();

View File

@ -100,6 +100,9 @@
<property name="margin"> <property name="margin">
<number>5</number> <number>5</number>
</property> </property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget> </widget>
</item> </item>
<item> <item>