feat(ui/views/App/Main/About): use a date to compute the copyright year

This commit is contained in:
Ronan Abhamon 2017-05-05 13:51:52 +02:00
parent e247b46b73
commit 24878cf2b2

View file

@ -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