--- a/src/miscallenous.cpp Mon Mar 06 00:36:40 2017 +0200 +++ b/src/miscallenous.cpp Mon Mar 06 00:40:23 2017 +0200 @@ -91,3 +91,9 @@ magnitude = qBound(0, magnitude, countof(suffixes) - 1); return QString::number(size / pow(1000, magnitude)) + suffixes[magnitude]; } + +QString preferredLicenseText() +{ + QString caLicenseText = "!LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt"; + return configuration().useCaLicense() ? caLicenseText : ""; +}