From 24878cf2b2b121be00c58541e6ffa41d7d49db25 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 5 May 2017 13:51:52 +0200 Subject: [PATCH] feat(ui/views/App/Main/About): use a date to compute the copyright year --- linphone-desktop/ui/views/App/Main/About.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linphone-desktop/ui/views/App/Main/About.qml b/linphone-desktop/ui/views/App/Main/About.qml index ad132ea82..e3bbda22c 100644 --- a/linphone-desktop/ui/views/App/Main/About.qml +++ b/linphone-desktop/ui/views/App/Main/About.qml @@ -104,7 +104,9 @@ DialogPlus { elide: Text.ElideRight font.pointSize: AboutStyle.copyrightBlock.license.fontSize - text: 'GNU General Public License V2\n\u00A9 2010-2017 Belledonne Communications' + text: 'GNU General Public License V2\n\u00A9 2010-' + + (new Date().toLocaleDateString(Qt.locale(), 'yyyy')) + + ' Belledonne Communications' width: parent.width