From 1ae83f6f93acc603b59d08e2800704666f851364 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 7 Jun 2017 11:18:44 +0200 Subject: [PATCH] feat(ui/views/App/Main/Dialogs/About): supports version copy/paste --- .../ui/views/App/Main/Dialogs/About.qml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/linphone-desktop/ui/views/App/Main/Dialogs/About.qml b/linphone-desktop/ui/views/App/Main/Dialogs/About.qml index e3bbda22c..34420d752 100644 --- a/linphone-desktop/ui/views/App/Main/Dialogs/About.qml +++ b/linphone-desktop/ui/views/App/Main/Dialogs/About.qml @@ -48,28 +48,32 @@ DialogPlus { spacing: 0 - Text { + TextEdit { color: AboutStyle.versionsBlock.appVersion.color - elide: Text.ElideRight + selectByMouse: true font.pointSize: AboutStyle.versionsBlock.appVersion.fontSize - text: 'Linphone Desktop Qt' + App.qtVersion + ' - ' + Qt.application.version + text: 'Desktop Qt' + App.qtVersion + ' - ' + Qt.application.version height: parent.height / 2 width: parent.width verticalAlignment: Text.AlignVCenter + + onActiveFocusChanged: deselect() } - Text { + TextEdit { color: AboutStyle.versionsBlock.coreVersion.color - elide: Text.ElideRight + selectByMouse: true font.pointSize: AboutStyle.versionsBlock.coreVersion.fontSize - text: 'Linphone Core ' + CoreManager.version + text: 'Core ' + CoreManager.version height: parent.heigth / 2 width: parent.width verticalAlignment: Text.AlignVCenter + + onActiveFocusChanged: deselect() } } }