Fix performance issue with copyright notice


Skip evaluating copyrights when the notice is not visible.
The implication of this patch is that copyright information
won't be up to date or even available unless there is an
"attached" copyright notice that has the visible property
set to true.

Task-number: QTBUG-64880
Change-Id: I3750b61913becb0cbf31273ad9a76ae1a2b6a393
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit2b6020a59ef503eeadabc532782f5e9e795fcf3f
parent7b8ab37beaafbe27c258a6d80d1914f982dcc9e1
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeMon, 15 Jan 2018 09:06:27 +0000